summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 5ce3891..936d896 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1075,8 +1075,8 @@ void Browser::OpenCreateShortcutsDialog() {
void Browser::OpenJavaScriptConsole() {
UserMetrics::RecordAction(L"ShowJSConsole", profile_);
- GetSelectedTabContents()->render_view_host()->
- ShowJavaScriptConsole();
+ DevToolsManager::GetInstance()->OpenDevToolsWindow(
+ GetSelectedTabContents()->render_view_host());
}
void Browser::OpenTaskManager() {