Merge "Check mWebViewCore to prevent potential NPE."
This commit is contained in:
committed by
Android (Google) Code Review
commit
c021e02fd4
@@ -2618,6 +2618,9 @@ public class WebView extends AbsoluteLayout
|
||||
* @hide
|
||||
*/
|
||||
public void notifyFindDialogDismissed() {
|
||||
if (mWebViewCore == null) {
|
||||
return;
|
||||
}
|
||||
clearMatches();
|
||||
setFindIsUp(false);
|
||||
recordNewContentSize(mContentWidth, mContentHeight - mFindHeight,
|
||||
|
||||
Reference in New Issue
Block a user