Index: chrome/browser/extensions/extension_service.cc |
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
index 8fc25936e35cbc882f8ff4f3fafdc3b9c56e78b5..c227e2dc690242cef45edbc7b4fc3ce6877b7a15 100644 |
--- a/chrome/browser/extensions/extension_service.cc |
+++ b/chrome/browser/extensions/extension_service.cc |
@@ -966,6 +966,10 @@ void ExtensionService::DisableExtension( |
if (!extension) |
return; |
+ // Reset the background_page_ready flag |
+ if (extensions::BackgroundInfo::HasBackgroundPage(extension)) |
Matt Perry
2013/04/19 18:50:44
nit: remove the if. Should be harmless to clear th
|
+ extension_runtime_data_[extension->id()].background_page_ready = false; |
+ |
// Move it over to the disabled list. Don't send a second unload notification |
// for terminated extensions being disabled. |
disabled_extensions_.Insert(make_scoped_refptr(extension)); |