Skip to content

Commit 47f88d6

Browse files
jreckAndroid (Google) Code Review
authored andcommitted
Merge "Revert "add null check on ViewRootImpl"" into jb-dev
2 parents 6d6f233 + 7658e53 commit 47f88d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/webkit/WebViewClassic.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7890,7 +7890,7 @@ void setNewPicture(final WebViewCore.DrawData draw, boolean updateBaseLayer) {
78907890
functor = nativeGetDrawGLFunction(mNativeClass);
78917891
}
78927892

7893-
if (functor != 0 && mWebView.getViewRootImpl()) {
7893+
if (functor != 0) {
78947894
mWebView.getViewRootImpl().attachFunctor(functor);
78957895
} else {
78967896
// invalidate the screen so that the next repaint will show new content

0 commit comments

Comments
 (0)