Skip to content

Commit 7658e53

Browse files
jreckAndroid (Google) Code Review
authored andcommitted
Revert "add null check on ViewRootImpl"
This reverts commit 67a1c8e
1 parent 67a1c8e commit 7658e53

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)