Index: extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc |
diff --git a/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc b/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc |
index 9196dfb8292e2bd09106d327ea100b9ead7762fb..2483a7fd19c3c0305389282b6ca972f5fda990ea 100644 |
--- a/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc |
+++ b/extensions/browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc |
@@ -23,8 +23,8 @@ namespace api { |
using content::BrowserThread; |
static base::LazyInstance< |
- BrowserContextKeyedAPIFactory<TCPSocketEventDispatcher> > g_factory = |
- LAZY_INSTANCE_INITIALIZER; |
+ BrowserContextKeyedAPIFactory<TCPSocketEventDispatcher>>::DestructorAtExit |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
// static |
BrowserContextKeyedAPIFactory<TCPSocketEventDispatcher>* |