Merge "Revert "add null check on ViewRootImpl"" into jb-dev

This commit is contained in:
John Reck
2012-04-27 18:05:39 -07:00
committed by Android (Google) Code Review

View File

@@ -7890,7 +7890,7 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
functor = nativeGetDrawGLFunction(mNativeClass);
}
if (functor != 0 && mWebView.getViewRootImpl()) {
if (functor != 0) {
mWebView.getViewRootImpl().attachFunctor(functor);
} else {
// invalidate the screen so that the next repaint will show new content