Index: chrome/browser/lifetime/application_lifetime.cc |
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc |
index b7eb115271084b7b239b1f0462691a1567a25e9e..ca2b639c2160140a8c0aa8810645e74cb36f6600 100644 |
--- a/chrome/browser/lifetime/application_lifetime.cc |
+++ b/chrome/browser/lifetime/application_lifetime.cc |
@@ -113,9 +113,8 @@ void CloseAllBrowsers() { |
// If there are no browsers and closing the last browser would quit the |
// application, send the APP_TERMINATING action here. Otherwise, it will be |
// sent by RemoveBrowser() when the last browser has closed. |
- if (browser_shutdown::ShuttingDownWithoutClosingBrowsers() || |
- (chrome::GetTotalBrowserCount() == 0 && |
- (browser_shutdown::IsTryingToQuit() || !chrome::WillKeepAlive()))) { |
+ if (chrome::GetTotalBrowserCount() == 0 && |
+ (browser_shutdown::IsTryingToQuit() || !chrome::WillKeepAlive())) { |
// Tell everyone that we are shutting down. |
browser_shutdown::SetTryingToQuit(true); |