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

Unified Diff: chrome/browser/ui/browser.cc

Issue 7322004: DevTools: devtools manager should know nothing about DevToolsWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments addressed Created 9 years, 5 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/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 2b6c6da22a47057012ca80a86cb2a4c60beff5ef..c5385b724b9579b619062aec9e0e29ed971acdbb 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1885,7 +1885,7 @@ void Browser::ToggleDevToolsWindow(DevToolsToggleAction action) {
break;
}
UserMetrics::RecordAction(UserMetricsAction(uma_string.c_str()));
- DevToolsManager::GetInstance()->ToggleDevToolsWindow(
+ DevToolsWindow::ToggleDevToolsWindow(
GetSelectedTabContentsWrapper()->render_view_host(), action);
}

Powered by Google App Engine
This is Rietveld 408576698