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

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

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

parents 79c63461 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) {
        if (functor != 0 && mWebView.getViewRootImpl()) {
            mWebView.getViewRootImpl().attachFunctor(functor);
        } else {
            // invalidate the screen so that the next repaint will show new content