Chromium Code Reviews

Unified Diff: extensions/browser/api/socket/udp_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.
Jump to:
View side-by-side diff with in-line comments
Index: extensions/browser/api/socket/udp_socket.cc
diff --git a/extensions/browser/api/socket/udp_socket.cc b/extensions/browser/api/socket/udp_socket.cc
index 30dbf6027a7810e8e11e27574d6a5462223a6070..90aefe78ee2edd561d0ea46d689bd9d5e4b9016c 100644
--- a/extensions/browser/api/socket/udp_socket.cc
+++ b/extensions/browser/api/socket/udp_socket.cc
@@ -18,9 +18,9 @@
namespace extensions {
-static base::LazyInstance<
- BrowserContextKeyedAPIFactory<ApiResourceManager<ResumableUDPSocket> > >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<BrowserContextKeyedAPIFactory<
+ ApiResourceManager<ResumableUDPSocket>>>::DestructorAtExit g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
template <>
« no previous file with comments | « extensions/browser/api/socket/tcp_socket.cc ('k') | extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine