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

Unified Diff: components/nacl/browser/pnacl_host.cc

Issue 501993003: Remove implicit conversions from scoped_refptr to T* in components/nacl/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: components/nacl/browser/pnacl_host.cc
diff --git a/components/nacl/browser/pnacl_host.cc b/components/nacl/browser/pnacl_host.cc
index 098ad33b90745e143208505fb2eae9b48eed7cc6..507a999585a0e8b26ee073a0080f2ef80e32cf3b 100644
--- a/components/nacl/browser/pnacl_host.cc
+++ b/components/nacl/browser/pnacl_host.cc
@@ -510,7 +510,7 @@ void PnaclHost::StoreTranslatedNexe(
}
pending_backend_operations_++;
disk_cache_->StoreNexe(it->second.cache_key,
- buffer,
+ buffer.get(),
base::Bind(&PnaclHost::OnTranslatedNexeStored,
weak_factory_.GetWeakPtr(),
it->first));

Powered by Google App Engine
This is Rietveld 408576698