Merge "webview: canInvokeDrawGlFunctor should always return true" into nyc-dev am: 79ec08248a

am: 07901c7d1f

* commit '07901c7d1fc6f1ae8e0e74e924b01825b461474b':
  webview: canInvokeDrawGlFunctor should always return true

Change-Id: Ifd2079addbce0bc9366743d110f11d111daa10fb
This commit is contained in:
Bo Liu
2016-04-22 15:42:45 +00:00
committed by android-build-merger

View File

@@ -74,9 +74,7 @@ public final class WebViewDelegate {
* and false otherwise.
*/
public boolean canInvokeDrawGlFunctor(View containerView) {
ViewRootImpl viewRootImpl = containerView.getViewRootImpl();
// viewRootImpl can be null during teardown when window is leaked.
return viewRootImpl != null;
return true;
}
/**