Merge "Fix contentInvalidateAll NPE"

This commit is contained in:
John Reck
2011-08-29 17:14:11 -07:00
committed by Android (Google) Code Review

View File

@@ -9124,7 +9124,9 @@ public class WebView extends AbsoluteLayout
/** @hide send content invalidate */
protected void contentInvalidateAll() {
mWebViewCore.sendMessage(EventHub.CONTENT_INVALIDATE_ALL);
if (mWebViewCore != null && !mBlockWebkitViewMessages) {
mWebViewCore.sendMessage(EventHub.CONTENT_INVALIDATE_ALL);
}
}
/** @hide call pageSwapCallback upon next page swap */