| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index 928bc00c2310e904fd830c5f771e6922118d462d..2ed371b950ba114a97e11a2893b99ff7161a565f 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -463,7 +463,7 @@ Browser::~Browser() {
|
| tab_restore_service->BrowserClosed(tab_restore_service_delegate());
|
|
|
| #if !defined(OS_MACOSX)
|
| - if (!chrome::GetBrowserCount(profile_)) {
|
| + if (!chrome::GetTotalBrowserCountForProfile(profile_)) {
|
| // We're the last browser window with this profile. We need to nuke the
|
| // TabRestoreService, which will start the shutdown of the
|
| // NavigationControllers and allow for proper shutdown. If we don't do this
|
|
|