| Index: chrome/browser/extensions/chrome_process_manager_delegate.cc
|
| diff --git a/chrome/browser/extensions/chrome_process_manager_delegate.cc b/chrome/browser/extensions/chrome_process_manager_delegate.cc
|
| index 86d3404a3839a9e7c932a1c15cb375ca6cc95964..e5804aab7c89b436ade61cc18225ba081b7f3229 100644
|
| --- a/chrome/browser/extensions/chrome_process_manager_delegate.cc
|
| +++ b/chrome/browser/extensions/chrome_process_manager_delegate.cc
|
| @@ -70,7 +70,7 @@ bool ChromeProcessManagerDelegate::DeferCreatingStartupBackgroundHosts(
|
| // There are no browser windows open and the browser process was
|
| // started to show the app launcher. Background hosts will be loaded later
|
| // via NOTIFICATION_BROWSER_WINDOW_READY. http://crbug.com/178260
|
| - return chrome::GetTotalBrowserCountForProfile(profile) == 0 &&
|
| + return chrome::GetBrowserCount(profile) == 0 &&
|
| base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kShowAppList);
|
| }
|
|
|