Check mWebViewCore to prevent potential NPE.

Bug:2532493
Change-Id: I917c57dced8638f36252638bb9814e26cdbc2768
This commit is contained in:
Shimeng (Simon) Wang
2010-03-22 17:06:17 -07:00
parent 02034d3568
commit 4d8ef42003

View File

@@ -2618,6 +2618,9 @@ public class WebView extends AbsoluteLayout
* @hide
*/
public void notifyFindDialogDismissed() {
if (mWebViewCore == null) {
return;
}
clearMatches();
setFindIsUp(false);
recordNewContentSize(mContentWidth, mContentHeight - mFindHeight,