summaryrefslogtreecommitdiffstats
path: root/content/child/child_shared_bitmap_manager.cc
diff options
context:
space:
mode:
authordcheng <dcheng@chromium.org>2014-11-12 16:50:58 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-13 00:52:05 +0000
commitb933848d698a7b3b4d2022ac1e4cd07acdf0b948 (patch)
treed986671585ce23c2ca95916c1319c07b02003b9d /content/child/child_shared_bitmap_manager.cc
parent409765ac7530f4f3422e7c282ae072f2e749ef7b (diff)
downloadchromium_src-b933848d698a7b3b4d2022ac1e4cd07acdf0b948.zip
chromium_src-b933848d698a7b3b4d2022ac1e4cd07acdf0b948.tar.gz
chromium_src-b933848d698a7b3b4d2022ac1e4cd07acdf0b948.tar.bz2
Remove implicit conversions from scoped_refptr to T* in content/
This patch was generated by running the rewrite_scoped_refptr clang tool on a Windows build. BUG=110610 Review URL: https://codereview.chromium.org/719343002 Cr-Commit-Position: refs/heads/master@{#303943}
Diffstat (limited to 'content/child/child_shared_bitmap_manager.cc')
-rw-r--r--content/child/child_shared_bitmap_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/child/child_shared_bitmap_manager.cc b/content/child/child_shared_bitmap_manager.cc
index 41c2261..3d82dd5 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(