Chromium Code Reviews| Index: chrome/browser/ui/startup/startup_browser_creator_impl.cc |
| diff --git a/chrome/browser/ui/startup/startup_browser_creator_impl.cc b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
| index 9e5bfe7fe719c0c433f8c1e965bd8bb2edc22910..cc1bbef9256083ebceb8b5146e3b7c43cf1d50d6 100644 |
| --- a/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
| +++ b/chrome/browser/ui/startup/startup_browser_creator_impl.cc |
| @@ -499,11 +499,8 @@ void StartupBrowserCreatorImpl::ProcessLaunchURLs( |
| // If we're starting up in "background mode" (no open browser window) then |
| // don't open any browser windows, unless kAutoLaunchAtStartup is also |
|
grt (UTC plus 2)
2015/11/12 17:49:02
please update this comment
gab
2015/11/12 18:44:26
Done.
|
| // specified. |
| - if (process_startup && |
| - command_line_.HasSwitch(switches::kNoStartupWindow) && |
| - !command_line_.HasSwitch(switches::kAutoLaunchAtStartup)) { |
| + if (process_startup && command_line_.HasSwitch(switches::kNoStartupWindow)) |
| return; |
| - } |
| // Determine whether or not this launch must include the welcome page. |
| InitializeWelcomeRunType(urls_to_open); |