| Index: chrome/browser/extensions/api/usb/usb_device_resource.cc
|
| diff --git a/chrome/browser/extensions/api/usb/usb_device_resource.cc b/chrome/browser/extensions/api/usb/usb_device_resource.cc
|
| index 97b8cbfbf6abf935d4b5484cb4e677347a196973..a427893d648880da63cb16bc0425e5e3b6311b13 100644
|
| --- a/chrome/browser/extensions/api/usb/usb_device_resource.cc
|
| +++ b/chrome/browser/extensions/api/usb/usb_device_resource.cc
|
| @@ -19,13 +19,13 @@ using content::BrowserThread;
|
|
|
| namespace extensions {
|
|
|
| -static base::LazyInstance<ProfileKeyedAPIFactory<
|
| - ApiResourceManager<UsbDeviceResource> > >
|
| - g_factory = LAZY_INSTANCE_INITIALIZER;
|
| +static base::LazyInstance<
|
| + BrowserContextKeyedAPIFactory<ApiResourceManager<UsbDeviceResource> > >
|
| + g_factory = LAZY_INSTANCE_INITIALIZER;
|
|
|
| // static
|
| template <>
|
| -ProfileKeyedAPIFactory<ApiResourceManager<UsbDeviceResource> >*
|
| +BrowserContextKeyedAPIFactory<ApiResourceManager<UsbDeviceResource> >*
|
| ApiResourceManager<UsbDeviceResource>::GetFactoryInstance() {
|
| return g_factory.Pointer();
|
| }
|
|
|