diff options
author | Kristian Monsen <kristianm@google.com> | 2011-11-11 15:53:47 +0000 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-11-11 15:58:17 +0000 |
commit | ba71c0463a03b57b115cd030d106e002bff5db5d (patch) | |
tree | af229fc2a065fa872d95cc8e1b4bd36b6fbad81b /src | |
parent | 1a1ca9a634ab50225d80592022084dbbade02c4d (diff) | |
download | packages_apps_browser-ba71c0463a03b57b115cd030d106e002bff5db5d.zip packages_apps_browser-ba71c0463a03b57b115cd030d106e002bff5db5d.tar.gz packages_apps_browser-ba71c0463a03b57b115cd030d106e002bff5db5d.tar.bz2 |
Remove dump V8 counters from browser debug menu
Removing the function from the WebView. This is a private function,
and to do anything useful WebCore had to be recompiled with the
special ANDROID_INSTRUMENTATION option.
Needed by https://android-git.corp.google.com/g/#/c/148912/
There is a bug for fixing ANDROID_INSTRUMENTATION:
bug 2816327
Since this has not been used for more than a year, removing
this option instead of fixing.
Change-Id: Ib5033a377a388d2ab211407aefe4b4932b441b76
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/browser/Controller.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 9710669..1dfff7c 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java @@ -1512,9 +1512,6 @@ public class Controller nav.setEnabled(isNavDump); boolean showDebugSettings = mSettings.isDebugEnabled(); - final MenuItem counter = menu.findItem(R.id.dump_counters_menu_id); - counter.setVisible(showDebugSettings); - counter.setEnabled(showDebugSettings); final MenuItem uaSwitcher = menu.findItem(R.id.ua_desktop_menu_id); uaSwitcher.setChecked(isDesktopUa); menu.setGroupVisible(R.id.LIVE_MENU, isLive); @@ -1661,10 +1658,6 @@ public class Controller getCurrentTopWebView().debugDump(); break; - case R.id.dump_counters_menu_id: - getCurrentTopWebView().dumpV8Counters(); - break; - case R.id.zoom_in_menu_id: getCurrentTopWebView().zoomIn(); break; |