diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 23:23:11 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-06 23:23:11 +0000 |
commit | 50ddd8b885c03fe4fba19130918939026ae6ef24 (patch) | |
tree | 4df5857465cbded5c559c917320d2ee09f13eb97 /chrome/browser/browser_list.cc | |
parent | efb5ccb4aa5aa111a1e894f8ad22cf6a8f053aba (diff) | |
download | chromium_src-50ddd8b885c03fe4fba19130918939026ae6ef24.zip chromium_src-50ddd8b885c03fe4fba19130918939026ae6ef24.tar.gz chromium_src-50ddd8b885c03fe4fba19130918939026ae6ef24.tar.bz2 |
Reverting 15468.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15470 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_list.cc')
-rw-r--r-- | chrome/browser/browser_list.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/browser_list.cc b/chrome/browser/browser_list.cc index 034bba6..3b6ee8b 100644 --- a/chrome/browser/browser_list.cc +++ b/chrome/browser/browser_list.cc @@ -67,8 +67,12 @@ void BrowserList::RemoveBrowser(Browser* browser) { // If the last Browser object was destroyed, make sure we try to close any // remaining dependent windows too. - if (browsers_.empty()) - AllBrowsersClosed(); + if (browsers_.empty()) { + NotificationService::current()->Notify( + NotificationType::ALL_APPWINDOWS_CLOSED, + NotificationService::AllSources(), + NotificationService::NoDetails()); + } g_browser_process->ReleaseModule(); } |