Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: chrome/browser/browser_commands.cc

Issue 4088: Move a bunch of stuff out of WebContents. I removed a bunch of render view ho... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698