Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 78c4b5dd9df73bb73f0418bae89d585fac746930..9a6eec4790136b694b3e8de7bf09ca1d1b6d6ce4 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -522,7 +522,7 @@ Browser::~Browser() { |
tab_restore_service->BrowserClosed(live_tab_context()); |
#if !defined(OS_MACOSX) |
- if (!chrome::GetTotalBrowserCountForProfile(profile_)) { |
+ if (!chrome::GetBrowserCount(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 |