diff options
author | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-12 18:25:17 +0000 |
---|---|---|
committer | pfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-12 18:25:17 +0000 |
commit | c624507dbe5892007a3963be18b524c4b9cf1bea (patch) | |
tree | 2291f5d07c3f8cca0fb12b699c7e9217bea19378 /chrome/browser/browser.cc | |
parent | cd9694081920898abccbf9e5dcf8624ad8223c63 (diff) | |
download | chromium_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.cc | 6 |
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); |