Index: chrome/browser/extensions/api/cast_channel/cast_channel_api.cc |
diff --git a/chrome/browser/extensions/api/cast_channel/cast_channel_api.cc b/chrome/browser/extensions/api/cast_channel/cast_channel_api.cc |
index d6bc303e367d95814eed3b6adb231fdc69d6776f..b662a15e36bf3eb3f95378793bdd45578ec4780e 100644 |
--- a/chrome/browser/extensions/api/cast_channel/cast_channel_api.cc |
+++ b/chrome/browser/extensions/api/cast_channel/cast_channel_api.cc |
@@ -50,14 +50,15 @@ CastChannelAPI::CastChannelAPI(content::BrowserContext* context) |
// static |
CastChannelAPI* CastChannelAPI::Get(content::BrowserContext* context) { |
- return ProfileKeyedAPIFactory<CastChannelAPI>::GetForProfile(context); |
+ return BrowserContextKeyedAPIFactory<CastChannelAPI>::Get(context); |
} |
-static base::LazyInstance<ProfileKeyedAPIFactory<CastChannelAPI> > g_factory = |
- LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance<BrowserContextKeyedAPIFactory<CastChannelAPI> > |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
// static |
-ProfileKeyedAPIFactory<CastChannelAPI>* CastChannelAPI::GetFactoryInstance() { |
+BrowserContextKeyedAPIFactory<CastChannelAPI>* |
+CastChannelAPI::GetFactoryInstance() { |
return g_factory.Pointer(); |
} |