Index: content/common/host_shared_bitmap_manager.cc |
diff --git a/content/common/host_shared_bitmap_manager.cc b/content/common/host_shared_bitmap_manager.cc |
index 03b389ad6838343022c0942b98ea1350851ad9c8..d41ec392be50a266504516c85e10d6ce08ef1892 100644 |
--- a/content/common/host_shared_bitmap_manager.cc |
+++ b/content/common/host_shared_bitmap_manager.cc |
@@ -5,6 +5,7 @@ |
#include "content/common/host_shared_bitmap_manager.h" |
#include <stdint.h> |
+#include <utility> |
#include "base/lazy_instance.h" |
#include "base/macros.h" |
@@ -232,7 +233,7 @@ void HostSharedBitmapManager::AllocateSharedBitmapForChild( |
scoped_refptr<BitmapData> data( |
new BitmapData(process_handle, buffer_size)); |
- data->memory = shared_memory.Pass(); |
+ data->memory = std::move(shared_memory); |
handle_map_[id] = data; |
if (!data->memory->ShareToProcess(process_handle, shared_memory_handle)) { |