Index: chrome/browser/extensions/api/location/location_manager.cc |
diff --git a/chrome/browser/extensions/api/location/location_manager.cc b/chrome/browser/extensions/api/location/location_manager.cc |
index d9dedaaf6ef4b3a2948ab56b3a7b4f7a37aefc3b..ad5ebe2f577ff9331267fe4f4aeb667446189179 100644 |
--- a/chrome/browser/extensions/api/location/location_manager.cc |
+++ b/chrome/browser/extensions/api/location/location_manager.cc |
@@ -430,17 +430,18 @@ void LocationManager::Observe(int type, |
} |
} |
-static base::LazyInstance<ProfileKeyedAPIFactory<LocationManager> > |
-g_factory = LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<BrowserContextKeyedAPIFactory<LocationManager> > |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
// static |
-ProfileKeyedAPIFactory<LocationManager>* LocationManager::GetFactoryInstance() { |
+BrowserContextKeyedAPIFactory<LocationManager>* |
+LocationManager::GetFactoryInstance() { |
return g_factory.Pointer(); |
} |
// static |
LocationManager* LocationManager::Get(content::BrowserContext* context) { |
- return ProfileKeyedAPIFactory<LocationManager>::GetForProfile(context); |
+ return BrowserContextKeyedAPIFactory<LocationManager>::Get(context); |
} |
} // namespace extensions |