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

Commit a3bec150 authored by Cary Clark's avatar Cary Clark
Browse files

In clearView(), see if native exists before calling it.

Change-Id: I069678ef8f4dbdb6b62109c53b352127f5eec7cf
http://b/2999966
parent 4200dcaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1941,7 +1941,7 @@ public class WebView extends AbsoluteLayout
    public void clearView() {
        mContentWidth = 0;
        mContentHeight = 0;
        nativeSetBaseLayer(0);
        if (mNativeClass != 0) nativeSetBaseLayer(0);
        mWebViewCore.sendMessage(EventHub.CLEAR_CONTENT);
    }