Index: chrome/browser/extensions/api/socket/socket.cc |
diff --git a/chrome/browser/extensions/api/socket/socket.cc b/chrome/browser/extensions/api/socket/socket.cc |
index b9238aed4ec47980a3c858bc8fa737e70afd0a90..6d989f5f62df5d58d6aa5f074412f7a711cf4126 100644 |
--- a/chrome/browser/extensions/api/socket/socket.cc |
+++ b/chrome/browser/extensions/api/socket/socket.cc |
@@ -17,12 +17,13 @@ namespace extensions { |
const char kSocketTypeNotSupported[] = "Socket type does not support this API"; |
-static base::LazyInstance<ProfileKeyedAPIFactory<ApiResourceManager<Socket> > > |
- g_factory = LAZY_INSTANCE_INITIALIZER; |
+static base::LazyInstance< |
+ BrowserContextKeyedAPIFactory<ApiResourceManager<Socket> > > g_factory = |
+ LAZY_INSTANCE_INITIALIZER; |
// static |
template <> |
-ProfileKeyedAPIFactory<ApiResourceManager<Socket> >* |
+BrowserContextKeyedAPIFactory<ApiResourceManager<Socket> >* |
ApiResourceManager<Socket>::GetFactoryInstance() { |
return g_factory.Pointer(); |
} |