Index: chrome/browser/lifetime/application_lifetime_aura.cc |
diff --git a/chrome/browser/lifetime/application_lifetime_aura.cc b/chrome/browser/lifetime/application_lifetime_aura.cc |
index deace263022a88ee9c579f2c52e8b095cc2f2806..5f4007409c2382092e1b450c3eb788f5a360b380 100644 |
--- a/chrome/browser/lifetime/application_lifetime_aura.cc |
+++ b/chrome/browser/lifetime/application_lifetime_aura.cc |
@@ -44,8 +44,8 @@ void HandleAppExitingForPlatform() { |
#if defined(OS_CHROMEOS) |
if (!CommandLine::ForCurrentProcess()->HasSwitch( |
switches::kDisableZeroBrowsersOpenForTests)) { |
- // App is exiting, call EndKeepAlive() on behalf of Aura Shell. |
- EndKeepAlive(); |
+ // App is exiting, call DecrementKeepAliveCount() on behalf of Aura Shell. |
+ DecrementKeepAliveCount(); |
// Make sure we have notified the session manager that we are exiting. |
// This might be called from FastShutdown() or CloseAllBrowsers(), but not |
// if something prevents a browser from closing before SetTryingToQuit() |