Merge "Check mWebViewCore to prevent potential NPE."

This commit is contained in:
Shimeng (Simon) Wang
2010-03-22 17:21:48 -07:00
committed by Android (Google) Code Review

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,