Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: chrome/browser/extensions/api/hid/hid_api.cc

Issue 177003015: Pull AsyncApiFunction out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/hid/hid_api.cc
diff --git a/chrome/browser/extensions/api/hid/hid_api.cc b/chrome/browser/extensions/api/hid/hid_api.cc
index e5e8eb38a9a676dc6c2f5854b8e7bfea3fd919a5..b15437fcad65fd7b987f7b75c9b57050e9885cc3 100644
--- a/chrome/browser/extensions/api/hid/hid_api.cc
+++ b/chrome/browser/extensions/api/hid/hid_api.cc
@@ -57,7 +57,7 @@ HidAsyncApiFunction::HidAsyncApiFunction() : manager_(NULL) {
HidAsyncApiFunction::~HidAsyncApiFunction() {}
bool HidAsyncApiFunction::PrePrepare() {
- manager_ = ApiResourceManager<HidConnectionResource>::Get(GetProfile());
+ manager_ = ApiResourceManager<HidConnectionResource>::Get(context());
if (!manager_) return false;
set_work_thread_id(content::BrowserThread::FILE);
return true;

Powered by Google App Engine
This is Rietveld 408576698