Merge "webview: canInvokeDrawGlFunctor should always return true" into nyc-dev
This commit is contained in:
@@ -74,9 +74,7 @@ public final class WebViewDelegate {
|
|||||||
* and false otherwise.
|
* and false otherwise.
|
||||||
*/
|
*/
|
||||||
public boolean canInvokeDrawGlFunctor(View containerView) {
|
public boolean canInvokeDrawGlFunctor(View containerView) {
|
||||||
ViewRootImpl viewRootImpl = containerView.getViewRootImpl();
|
return true;
|
||||||
// viewRootImpl can be null during teardown when window is leaked.
|
|
||||||
return viewRootImpl != null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user