Index: extensions/browser/api/cast_channel/cast_channel_api.cc |
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.cc b/extensions/browser/api/cast_channel/cast_channel_api.cc |
index fe16cf2f3e5992eaafb55b614ed1375b7097da1a..7f64f24d24dd63d99ea3624fde9096a4438823e3 100644 |
--- a/extensions/browser/api/cast_channel/cast_channel_api.cc |
+++ b/extensions/browser/api/cast_channel/cast_channel_api.cc |
@@ -131,8 +131,9 @@ void CastChannelAPI::SendEvent(const std::string& extension_id, |
} |
} |
-static base::LazyInstance<BrowserContextKeyedAPIFactory<CastChannelAPI> > |
- g_factory = LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance< |
+ BrowserContextKeyedAPIFactory<CastChannelAPI>>::DestructorAtExit g_factory = |
+ LAZY_INSTANCE_INITIALIZER; |
// static |
BrowserContextKeyedAPIFactory<CastChannelAPI>* |