Index: chrome/browser/extensions/api/history/history_api.cc |
diff --git a/chrome/browser/extensions/api/history/history_api.cc b/chrome/browser/extensions/api/history/history_api.cc |
index f7c222614b78e398efdf0af39eb65ca5b9e5db7c..9ef4b258de0db848c9b2382be36c006b9c3180ea 100644 |
--- a/chrome/browser/extensions/api/history/history_api.cc |
+++ b/chrome/browser/extensions/api/history/history_api.cc |
@@ -216,16 +216,16 @@ void HistoryAPI::Shutdown() { |
this); |
} |
-static base::LazyInstance<ProfileKeyedAPIFactory<HistoryAPI> > |
-g_factory = LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<BrowserContextKeyedAPIFactory<HistoryAPI> > |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
// static |
-ProfileKeyedAPIFactory<HistoryAPI>* HistoryAPI::GetFactoryInstance() { |
+BrowserContextKeyedAPIFactory<HistoryAPI>* HistoryAPI::GetFactoryInstance() { |
return g_factory.Pointer(); |
} |
-template<> |
-void ProfileKeyedAPIFactory<HistoryAPI>::DeclareFactoryDependencies() { |
+template <> |
+void BrowserContextKeyedAPIFactory<HistoryAPI>::DeclareFactoryDependencies() { |
DependsOn(ActivityLog::GetFactoryInstance()); |
} |