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

Commit 273b8c2e authored by John Reck's avatar John Reck
Browse files

Add missing null check

Change-Id: I05e288762c00d80f4c0842584daa88c205196b6f
parent 6dbac379
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4362,7 +4362,9 @@ public final class WebViewClassic implements WebViewProvider, WebViewProvider.Sc
    }

    private void removeTouchHighlight() {
        if (mWebViewCore != null) {
            mWebViewCore.removeMessages(EventHub.HIT_TEST);
        }
        mPrivateHandler.removeMessages(HIT_TEST_RESULT);
        setTouchHighlightRects(null);
    }