Index: chrome/browser/background/background_contents_service_factory.cc |
diff --git a/chrome/browser/background/background_contents_service_factory.cc b/chrome/browser/background/background_contents_service_factory.cc |
index e03266437cd6769407ccdbdd2feda8788b01472f..4289e8b5814d3197995787458b513a21ba68223a 100644 |
--- a/chrome/browser/background/background_contents_service_factory.cc |
+++ b/chrome/browser/background/background_contents_service_factory.cc |
@@ -12,6 +12,7 @@ |
#include "chrome/common/pref_names.h" |
#include "components/keyed_service/content/browser_context_dependency_manager.h" |
#include "components/pref_registry/pref_registry_syncable.h" |
+#include "extensions/browser/extension_registry_factory.h" |
// static |
BackgroundContentsService* BackgroundContentsServiceFactory::GetForProfile( |
@@ -30,6 +31,7 @@ BackgroundContentsServiceFactory::BackgroundContentsServiceFactory() |
: BrowserContextKeyedServiceFactory( |
"BackgroundContentsService", |
BrowserContextDependencyManager::GetInstance()) { |
+ DependsOn(extensions::ExtensionRegistryFactory::GetInstance()); |
} |
BackgroundContentsServiceFactory::~BackgroundContentsServiceFactory() { |