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

Commit 4d8ef420 authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang
Browse files

Check mWebViewCore to prevent potential NPE.

Bug:2532493
Change-Id: I917c57dced8638f36252638bb9814e26cdbc2768
parent 02034d35
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2618,6 +2618,9 @@ public class WebView extends AbsoluteLayout
     * @hide
     */
    public void notifyFindDialogDismissed() {
        if (mWebViewCore == null) {
            return;
        }
        clearMatches();
        setFindIsUp(false);
        recordNewContentSize(mContentWidth, mContentHeight - mFindHeight,