| Index: content/common/gpu/client/gpu_channel_host.cc
|
| diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc
|
| index 6b1706cdbb614fb320611d359ac5ceb45b6eb5f8..a87051af7dff62756f832c1099e98287a02e083f 100644
|
| --- a/content/common/gpu/client/gpu_channel_host.cc
|
| +++ b/content/common/gpu/client/gpu_channel_host.cc
|
| @@ -334,14 +334,8 @@ base::SharedMemoryHandle GpuChannelHost::ShareToGpuProcess(
|
| return base::SharedMemory::NULLHandle();
|
| peer_pid = channel_->GetPeerPID();
|
| }
|
| -#if defined(OS_WIN)
|
| - bool success =
|
| - BrokerDuplicateHandle(source_handle, peer_pid, &target_handle,
|
| - FILE_GENERIC_READ | FILE_GENERIC_WRITE, 0);
|
| -#elif defined(OS_MACOSX)
|
| bool success = BrokerDuplicateSharedMemoryHandle(source_handle, peer_pid,
|
| &target_handle);
|
| -#endif
|
| if (!success)
|
| return base::SharedMemory::NULLHandle();
|
|
|
|
|