Index: extensions/browser/api/socket/socket.cc |
diff --git a/extensions/browser/api/socket/socket.cc b/extensions/browser/api/socket/socket.cc |
index 77de30190a0f175909b0eb08600246772067bc03..1143a8c2a6db7e32f51329888dd705bbadf54b54 100644 |
--- a/extensions/browser/api/socket/socket.cc |
+++ b/extensions/browser/api/socket/socket.cc |
@@ -19,8 +19,8 @@ namespace extensions { |
const char kSocketTypeNotSupported[] = "Socket type does not support this API"; |
static base::LazyInstance< |
- BrowserContextKeyedAPIFactory<ApiResourceManager<Socket> > > g_factory = |
- LAZY_INSTANCE_INITIALIZER; |
+ BrowserContextKeyedAPIFactory<ApiResourceManager<Socket>>>::DestructorAtExit |
+ g_factory = LAZY_INSTANCE_INITIALIZER; |
// static |
template <> |