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

am: 79ec08248a

* commit '79ec08248afca69f02e53a2123517fc272e4a27c':
  webview: canInvokeDrawGlFunctor should always return true

Change-Id: I48e1dbb8d8890917b6695552ff7fb0ab6f6c1686
This commit is contained in:
Bo Liu
2016-04-22 15:40:27 +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;
}
/**