| Index: gpu/command_buffer/client/mapped_memory.cc
|
| diff --git a/gpu/command_buffer/client/mapped_memory.cc b/gpu/command_buffer/client/mapped_memory.cc
|
| index c40278e27203cfba27bb5b2f8deddb17c7d0698d..cd1ff41fa4e7f81828317b8219128765c2df9c5d 100644
|
| --- a/gpu/command_buffer/client/mapped_memory.cc
|
| +++ b/gpu/command_buffer/client/mapped_memory.cc
|
| @@ -12,6 +12,7 @@
|
|
|
| #include "base/atomic_sequence_num.h"
|
| #include "base/logging.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "base/thread_task_runner_handle.h"
|
| #include "base/trace_event/memory_dump_manager.h"
|
| @@ -120,7 +121,7 @@ void* MappedMemoryManager::Alloc(unsigned int size,
|
| DCHECK(shm.get());
|
| MemoryChunk* mc = new MemoryChunk(id, shm, helper_);
|
| allocated_memory_ += mc->GetSize();
|
| - chunks_.push_back(make_scoped_ptr(mc));
|
| + chunks_.push_back(base::WrapUnique(mc));
|
| void* mem = mc->Alloc(size);
|
| DCHECK(mem);
|
| *shm_id = mc->shm_id();
|
|
|