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

Unified Diff: content/common_child/webblobregistry_impl.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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
« no previous file with comments | « content/common_child/npobject_stub.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common_child/webblobregistry_impl.cc
diff --git a/content/common_child/webblobregistry_impl.cc b/content/common_child/webblobregistry_impl.cc
index d711c743a6e11a589b15c18bca3525c8087d53f7..32d754de7fd602d1cfd30e5aae37da48979c0099 100644
--- a/content/common_child/webblobregistry_impl.cc
+++ b/content/common_child/webblobregistry_impl.cc
@@ -58,7 +58,8 @@ void WebBlobRegistryImpl::registerBlobURL(
size_t shared_memory_size = std::min(
data_size, kMaxSharedMemoryBytes);
scoped_ptr<base::SharedMemory> shared_memory(
- ChildThread::AllocateSharedMemory(shared_memory_size, sender_));
+ ChildThread::AllocateSharedMemory(shared_memory_size,
+ sender_.get()));
CHECK(shared_memory.get());
while (data_size) {
size_t chunk_size = std::min(data_size, shared_memory_size);
« no previous file with comments | « content/common_child/npobject_stub.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698