diff options
Diffstat (limited to 'src/com/android/browser/BaseUi.java')
-rw-r--r-- | src/com/android/browser/BaseUi.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index b766fb9..3ba3182 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java @@ -423,9 +423,9 @@ public abstract class BaseUi implements UI { .findViewById(R.id.subwindow_close); final WebView cancelSubView = subView; cancel.setOnClickListener(new OnClickListener() { + @Override public void onClick(View v) { - WebViewClassic.fromWebView(cancelSubView).getWebChromeClient().onCloseWindow( - cancelSubView); + ((BrowserWebView) cancelSubView).getWebChromeClient().onCloseWindow(cancelSubView); } }); tab.setSubWebView(subView); |