From fdb4c7db1703189d9d26526e12c03cab7dd11655 Mon Sep 17 00:00:00 2001 From: "andybons@chromium.org" Date: Fri, 11 Dec 2009 20:08:55 +0000 Subject: Rolling back r34316 due to tab_switching_test failing. TBR=scherkus TEST=none BUG=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34374 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/browser_list.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'chrome/browser/browser_list.cc') diff --git a/chrome/browser/browser_list.cc b/chrome/browser/browser_list.cc index 7f7b753..413fda9 100644 --- a/chrome/browser/browser_list.cc +++ b/chrome/browser/browser_list.cc @@ -151,12 +151,7 @@ void BrowserList::AddBrowser(Browser* browser) { void BrowserList::RemoveBrowser(Browser* browser) { RemoveBrowserFrom(browser, &last_active_browsers_); - bool close_app = false; - // Since closing all windows does not indicate quitting the application on - // Mac, don't check the condition based on the number of browser windows. -#if defined(OS_WIN) || defined(OS_LINUX) - close_app = (browsers_.size() == 1); -#endif + bool close_app = (browsers_.size() == 1); NotificationService::current()->Notify( NotificationType::BROWSER_CLOSED, Source(browser), Details(&close_app)); -- cgit v1.1