Chromium Code Reviews| Index: chrome/browser/browser_commands.cc |
| =================================================================== |
| --- chrome/browser/browser_commands.cc (revision 2568) |
| +++ chrome/browser/browser_commands.cc (working copy) |
| @@ -460,7 +460,7 @@ |
| TabContents* current_tab = GetSelectedTabContents(); |
| if (current_tab && current_tab->AsWebContents()) { |
| WebContents* wc = current_tab->AsWebContents(); |
| - wc->ShowJavaScriptConsole(); |
| + wc->render_view_host()->ShowJavaScriptConsole(); |
| } |
| break; |
| } |