| 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 ff86e6fc305c1b7099a966bbabd87eab2a7753be..56e5e906840304f831eb3615b74353de57421300 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator.cc
|
| @@ -588,7 +588,7 @@ bool StartupBrowserCreator::ProcessCmdLineImpl(
|
| // chrome to shut down.
|
| // TODO(jackhou): Do this properly once keep-alive is handled by the
|
| // background page of apps. Tracked at http://crbug.com/175381
|
| - if (chrome::GetBrowserCount(last_used_profile) != 0)
|
| + if (chrome::GetTotalBrowserCountForProfile(last_used_profile) != 0)
|
| return true;
|
| }
|
|
|
|
|