Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1976)

Unified Diff: apps/app_window.cc

Issue 176363002: Rename Start/EndKeepAlive to Increment/DecrementKeepAliveCount (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: apps/app_window.cc
diff --git a/apps/app_window.cc b/apps/app_window.cc
index 1f0c945edec5a6eb234ceefeb2d40c7c2a35fc0e..ae42bee70da16b07ac288b20558473c10f8b42c1 100644
--- a/apps/app_window.cc
+++ b/apps/app_window.cc
@@ -232,7 +232,7 @@ void AppWindow::Init(const GURL& url,
}
// Prevent the browser process from shutting down while this window is open.
- chrome::StartKeepAlive();
+ chrome::IncrementKeepAliveCount();
UpdateExtensionAppIcon();
@@ -245,7 +245,7 @@ AppWindow::~AppWindow() {
registrar_.RemoveAll();
// Remove shutdown prevention.
- chrome::EndKeepAlive();
+ chrome::DecrementKeepAliveCount();
}
void AppWindow::RequestMediaAccessPermission(

Powered by Google App Engine
This is Rietveld 408576698