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

This commit is contained in:
Bo Liu
2016-04-22 15:36:37 +00:00
committed by Android (Google) Code Review

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;
}
/**