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

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: respond to 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 d9f547740f78cec3fe2a58643b9dd7100dd4cce0..e36da5ea680b86f7718b66692ee9a214784f4afe 100644
--- a/chrome/browser/extensions/extension_message_service.cc
+++ b/chrome/browser/extensions/extension_message_service.cc
@@ -142,7 +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());
+ pm->IncrementLazyKeepaliveCount(host->extension(), true);
// 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