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

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

Merge "Fix contentInvalidateAll NPE"

parents d56b3c95 c87b7705
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -9124,8 +9124,10 @@ public class WebView extends AbsoluteLayout


    /** @hide send content invalidate */
    /** @hide send content invalidate */
    protected void contentInvalidateAll() {
    protected void contentInvalidateAll() {
        if (mWebViewCore != null && !mBlockWebkitViewMessages) {
            mWebViewCore.sendMessage(EventHub.CONTENT_INVALIDATE_ALL);
            mWebViewCore.sendMessage(EventHub.CONTENT_INVALIDATE_ALL);
        }
        }
    }


    /** @hide call pageSwapCallback upon next page swap */
    /** @hide call pageSwapCallback upon next page swap */
    protected void registerPageSwapCallback() {
    protected void registerPageSwapCallback() {