Index: chrome/browser/ui/startup/startup_browser_creator.cc |
diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc |
index d7d344cb8a65aebc5a99e89be65a3caa58223234..fbcb3de9274ce3fb434952407f5bed233930fa2f 100644 |
--- a/chrome/browser/ui/startup/startup_browser_creator.cc |
+++ b/chrome/browser/ui/startup/startup_browser_creator.cc |
@@ -649,19 +649,6 @@ bool StartupBrowserCreator::ProcessCmdLineImpl( |
jumplist::LogJumplistActionFromSwitchValue( |
command_line.GetSwitchValueASCII(switches::kWinJumplistAction)); |
} |
- |
- // If the profile is loaded and the --activate-existing-profile-browser flag |
- // is used, activate one of the profile's browser windows, if one exists. |
- // Continuing to process the command line is not needed, since this will |
- // end up opening a new browser window. |
- if (command_line.HasSwitch(switches::kActivateExistingProfileBrowser)) { |
- Browser* browser = chrome::FindTabbedBrowser( |
- last_used_profile, false, chrome::HOST_DESKTOP_TYPE_NATIVE); |
- if (browser) { |
- browser->window()->Activate(); |
- return true; |
- } |
- } |
#endif |
VLOG(2) << "ProcessCmdLineImpl: PLACE 5"; |