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

Commit c021e02f authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang Committed by Android (Google) Code Review
Browse files

Merge "Check mWebViewCore to prevent potential NPE."

parents 49de4913 4d8ef420
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,