Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: extensions/browser/api/cast_channel/cast_socket.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/cast_channel/cast_socket.cc
diff --git a/extensions/browser/api/cast_channel/cast_socket.cc b/extensions/browser/api/cast_channel/cast_socket.cc
index 921579e11dde62072d96cf1f63ac986790e0ea63..1c2b956c41a5faa08c7f9c4b6b0f1764c5e8af0a 100644
--- a/extensions/browser/api/cast_channel/cast_socket.cc
+++ b/extensions/browser/api/cast_channel/cast_socket.cc
@@ -57,8 +57,8 @@
namespace extensions {
static base::LazyInstance<BrowserContextKeyedAPIFactory<
- ApiResourceManager<api::cast_channel::CastSocket>>> g_factory =
- LAZY_INSTANCE_INITIALIZER;
+ ApiResourceManager<api::cast_channel::CastSocket>>>::DestructorAtExit
+ g_factory = LAZY_INSTANCE_INITIALIZER;
// static
template <>
« no previous file with comments | « extensions/browser/api/cast_channel/cast_channel_api.cc ('k') | extensions/browser/api/clipboard/clipboard_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698