Merge "webview: canInvokeDrawGlFunctor should always return true" into nyc-dev
am: 79ec08248a
* commit '79ec08248afca69f02e53a2123517fc272e4a27c':
webview: canInvokeDrawGlFunctor should always return true
Change-Id: I54bfb01a138d68275fd182ee7970b342562adfc8
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