| Index: chrome/browser/extensions/api/usb/usb_api.cc
|
| diff --git a/chrome/browser/extensions/api/usb/usb_api.cc b/chrome/browser/extensions/api/usb/usb_api.cc
|
| index 84474e4025d80f16802551c95d7b3aa8090a8526..1c59f1ec1f14690cd3b82e0322612607afffd925 100644
|
| --- a/chrome/browser/extensions/api/usb/usb_api.cc
|
| +++ b/chrome/browser/extensions/api/usb/usb_api.cc
|
| @@ -396,7 +396,7 @@ UsbAsyncApiFunction::~UsbAsyncApiFunction() {
|
| }
|
|
|
| bool UsbAsyncApiFunction::PrePrepare() {
|
| - manager_ = ApiResourceManager<UsbDeviceResource>::Get(GetProfile());
|
| + manager_ = ApiResourceManager<UsbDeviceResource>::Get(context());
|
| set_work_thread_id(BrowserThread::FILE);
|
| return manager_ != NULL;
|
| }
|
|
|