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

Unified Diff: extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.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/sockets_udp/udp_socket_event_dispatcher.cc
diff --git a/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc b/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc
index 0ae4dbc1d80a8c0b449718a99ccdce7e9497d417..825b2b2696adab7d470593bcb9ef73da1a5da72a 100644
--- a/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc
+++ b/extensions/browser/api/sockets_udp/udp_socket_event_dispatcher.cc
@@ -18,8 +18,8 @@ namespace api {
using content::BrowserThread;
static base::LazyInstance<
- BrowserContextKeyedAPIFactory<UDPSocketEventDispatcher> > g_factory =
- LAZY_INSTANCE_INITIALIZER;
+ BrowserContextKeyedAPIFactory<UDPSocketEventDispatcher>>::DestructorAtExit
+ g_factory = LAZY_INSTANCE_INITIALIZER;
// static
BrowserContextKeyedAPIFactory<UDPSocketEventDispatcher>*

Powered by Google App Engine
This is Rietveld 408576698