commit | 772927a9fa4acaafdef4ae3bde91cf0bb822ebd7 | [log] [tgz] |
---|---|---|
author | Michael Kolb <kolby@google.com> | Wed Oct 13 19:23:42 2010 -0700 |
committer | Michael Kolb <kolby@google.com> | Thu Oct 14 11:43:12 2010 -0700 |
tree | 5b67f5385c888a650948e0b7faec57da7a358989 | |
parent | daece2e96475d269ea54cd92a290a787071e7298 [diff] [blame] |
fix history context menu bug http://b/issue?id=2953912 Note: the bookmark status (star) is not correct and will be fixed separately Change-Id: I20d1e52e9d6f6aeb7c0f1c66a61bed4d001e9092
diff --git a/src/com/android/browser/BrowserActivity.java b/src/com/android/browser/BrowserActivity.java index 590235c..ff9a418 100644 --- a/src/com/android/browser/BrowserActivity.java +++ b/src/com/android/browser/BrowserActivity.java
@@ -1627,6 +1627,9 @@ if (v instanceof TitleBarBase) { return; } + if (!(v instanceof WebView)) { + return; + } WebView webview = (WebView) v; WebView.HitTestResult result = webview.getHitTestResult(); if (result == null) {