| Index: apps/app_window.cc
|
| diff --git a/apps/app_window.cc b/apps/app_window.cc
|
| index 1c6d2866ce7508a5e0850e76f67c5a9ca12e54c4..6a4f7dbece7fdbbf21484d9ab783684f3bd11b95 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.
|
| - AppsClient::Get()->StartKeepAlive();
|
| + AppsClient::Get()->IncrementKeepAliveCount();
|
|
|
| UpdateExtensionAppIcon();
|
|
|
| @@ -245,7 +245,7 @@ AppWindow::~AppWindow() {
|
| registrar_.RemoveAll();
|
|
|
| // Remove shutdown prevention.
|
| - AppsClient::Get()->EndKeepAlive();
|
| + AppsClient::Get()->DecrementKeepAliveCount();
|
| }
|
|
|
| void AppWindow::RequestMediaAccessPermission(
|
|
|