diff options
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); |