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 09:09:14 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-12 09:09:14 +0000
commit84d231e748ee933e7a26d683a01d328d6a76a061 (patch)
tree9d16c0a48a7fb1a132e89b3470ad209ec0b44355 /chrome/browser/browser.cc
parent74f0c4d29b271edfcd97e6bbe4417cc0ef139c30 (diff)
downloadchromium_src-84d231e748ee933e7a26d683a01d328d6a76a061.zip
chromium_src-84d231e748ee933e7a26d683a01d328d6a76a061.tar.gz
chromium_src-84d231e748ee933e7a26d683a01d328d6a76a061.tar.bz2
DevTools: enable out of process dev tools by default.
Review URL: http://codereview.chromium.org/115231 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15843 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 7de7a50..36b3cb5 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 oop_devtools = CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableOutOfProcessDevTools);
+ bool in_proc_devtools = CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kDisableOutOfProcessDevTools);
command_updater_.UpdateCommandEnabled(IDC_DEBUGGER,
// The debugger doesn't work in single process mode.
- !oop_devtools && !RenderProcessHost::run_renderer_in_process());
+ in_proc_devtools && !RenderProcessHost::run_renderer_in_process());
#endif
command_updater_.UpdateCommandEnabled(IDC_TASK_MANAGER, true);
command_updater_.UpdateCommandEnabled(IDC_SELECT_PROFILE, true);