Index: chrome/browser/ui/app_list/keep_alive_service_impl.cc |
diff --git a/chrome/browser/ui/app_list/keep_alive_service_impl.cc b/chrome/browser/ui/app_list/keep_alive_service_impl.cc |
index a08c843d3d0d772bcf31e5a1953a0b84e52ef486..c068b6e3ef443655923b4e893c728f226b8730a3 100644 |
--- a/chrome/browser/ui/app_list/keep_alive_service_impl.cc |
+++ b/chrome/browser/ui/app_list/keep_alive_service_impl.cc |
@@ -6,13 +6,9 @@ |
#include "chrome/browser/lifetime/application_lifetime.h" |
-ScopedKeepAlive::ScopedKeepAlive() { |
- chrome::StartKeepAlive(); |
-} |
+ScopedKeepAlive::ScopedKeepAlive() { chrome::IncrementKeepAliveCount(); } |
-ScopedKeepAlive::~ScopedKeepAlive() { |
- chrome::EndKeepAlive(); |
-} |
+ScopedKeepAlive::~ScopedKeepAlive() { chrome::DecrementKeepAliveCount(); } |
KeepAliveServiceImpl::KeepAliveServiceImpl() { |
} |