| Index: content/browser/gpu/gpu_process_host_ui_shim.cc
|
| diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| index de484b302cb3d0dcf8575582c0f45f6a241210cd..69618e205b85fab764c63b2fe49c739552cb7236 100644
|
| --- a/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| +++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
|
| @@ -281,7 +281,8 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceNew(
|
| #if defined(OS_MACOSX)
|
| if (params.create_transport_dib) {
|
| scoped_ptr<base::SharedMemory> shared_memory(new base::SharedMemory());
|
| - if (shared_memory->CreateAnonymous(params.width * params.height * 4)) {
|
| + if (shared_memory->CreateAnonymous(params.width * params.height * 4,
|
| + false)) {
|
| // Create a local handle for RWHVMac to map the SHM.
|
| TransportDIB::Handle local_handle;
|
| if (!shared_memory->ShareToProcess(0 /* pid, not needed */,
|
|
|