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

Unified Diff: chrome/browser/extensions/extension_message_service.cc

Issue 10804020: Introduce runtime.onSuspendCanceled() event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comments Created 8 years, 5 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: chrome/browser/extensions/extension_message_service.cc
diff --git a/chrome/browser/extensions/extension_message_service.cc b/chrome/browser/extensions/extension_message_service.cc
index 2e6ed6b9d952a659541c56d4593d40312b7434ff..d9f547740f78cec3fe2a58643b9dd7100dd4cce0 100644
--- a/chrome/browser/extensions/extension_message_service.cc
+++ b/chrome/browser/extensions/extension_message_service.cc
@@ -142,8 +142,7 @@ static void IncrementLazyKeepaliveCount(
extensions::ExtensionSystem::Get(profile)->process_manager();
ExtensionHost* host = pm->GetBackgroundHostForExtension(port->extension_id);
if (host && host->extension()->has_lazy_background_page())
- pm->IncrementLazyKeepaliveCount(
- host->extension(), ExtensionProcessManager::CANCEL_SUSPEND);
+ pm->IncrementLazyKeepaliveCount(host->extension());
// Keep track of the background host, so when we decrement, we only do so if
// the host hasn't reloaded.

Powered by Google App Engine
This is Rietveld 408576698