In clearView(), see if native exists before calling it.
Change-Id: I069678ef8f4dbdb6b62109c53b352127f5eec7cf http://b/2999966
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user