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:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user