summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_commands.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_commands.cc')
-rw-r--r--chrome/browser/browser_commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_commands.cc b/chrome/browser/browser_commands.cc
index a3f6268..063e99a 100644
--- a/chrome/browser/browser_commands.cc
+++ b/chrome/browser/browser_commands.cc
@@ -460,7 +460,7 @@ void Browser::ExecuteCommand(int id) {
TabContents* current_tab = GetSelectedTabContents();
if (current_tab && current_tab->AsWebContents()) {
WebContents* wc = current_tab->AsWebContents();
- wc->ShowJavaScriptConsole();
+ wc->render_view_host()->ShowJavaScriptConsole();
}
break;
}