summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 18:25:17 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 18:25:17 +0000
commitc624507dbe5892007a3963be18b524c4b9cf1bea (patch)
tree2291f5d07c3f8cca0fb12b699c7e9217bea19378 /chrome/browser/browser.cc
parentcd9694081920898abccbf9e5dcf8624ad8223c63 (diff)
downloadchromium_src-c624507dbe5892007a3963be18b524c4b9cf1bea.zip
chromium_src-c624507dbe5892007a3963be18b524c4b9cf1bea.tar.gz
chromium_src-c624507dbe5892007a3963be18b524c4b9cf1bea.tar.bz2
Reverting 15843: chrome performance regression.
Review URL: http://codereview.chromium.org/113284 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15879 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index 36b3cb5..7de7a50 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -2117,11 +2117,11 @@ void Browser::InitCommandState() {
command_updater_.UpdateCommandEnabled(IDC_CREATE_SHORTCUTS, false);
#if defined(OS_WIN)
// Command line debugger conflicts with the new oop one.
- bool in_proc_devtools = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableOutOfProcessDevTools);
+ bool oop_devtools = CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableOutOfProcessDevTools);
command_updater_.UpdateCommandEnabled(IDC_DEBUGGER,
// The debugger doesn't work in single process mode.
- in_proc_devtools && !RenderProcessHost::run_renderer_in_process());
+ !oop_devtools && !RenderProcessHost::run_renderer_in_process());
#endif
command_updater_.UpdateCommandEnabled(IDC_TASK_MANAGER, true);
command_updater_.UpdateCommandEnabled(IDC_SELECT_PROFILE, true);