Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7658e530 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Revert "add null check on ViewRootImpl"

This reverts commit 67a1c8e3
parent 67a1c8e3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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