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

Unified Diff: content/child/child_shared_bitmap_manager.cc

Issue 719343002: Remove implicit conversions from scoped_refptr to T* in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: content/child/child_shared_bitmap_manager.cc
diff --git a/content/child/child_shared_bitmap_manager.cc b/content/child/child_shared_bitmap_manager.cc
index 41c22610c4ae237b0ae465cd57ea023a716f6f2a..3d82dd5a993723a6533b3735436f561e1b6a05b2 100644
--- a/content/child/child_shared_bitmap_manager.cc
+++ b/content/child/child_shared_bitmap_manager.cc
@@ -54,7 +54,7 @@ scoped_ptr<cc::SharedBitmap> ChildSharedBitmapManager::AllocateSharedBitmap(
memory = make_scoped_ptr(new base::SharedMemory(handle, false));
CHECK(memory->Map(memory_size));
#else
- memory.reset(ChildThread::AllocateSharedMemory(memory_size, sender_));
+ memory.reset(ChildThread::AllocateSharedMemory(memory_size, sender_.get()));
CHECK(memory);
base::SharedMemoryHandle handle_to_send = memory->handle();
sender_->Send(new ChildProcessHostMsg_AllocatedSharedBitmap(

Powered by Google App Engine
This is Rietveld 408576698