| Index: content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| diff --git a/content/browser/gpu/browser_gpu_channel_host_factory.cc b/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| index e8b084ac6c5736ee02fc4af09ddd9a67a0f7016e..f432608fb27aeec226c0e457e6860386cbf98437 100644
|
| --- a/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| +++ b/content/browser/gpu/browser_gpu_channel_host_factory.cc
|
| @@ -288,7 +288,7 @@ BrowserGpuChannelHostFactory::AllocateSharedMemory(size_t size) {
|
| scoped_ptr<base::SharedMemory> shm(new base::SharedMemory());
|
| if (!shm->CreateAnonymous(size))
|
| return scoped_ptr<base::SharedMemory>();
|
| - return shm.Pass();
|
| + return shm;
|
| }
|
|
|
| void BrowserGpuChannelHostFactory::CreateViewCommandBufferOnIO(
|
|
|