| Index: content/common/gpu/client/command_buffer_proxy_impl.cc
|
| diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc
|
| index 1bb1887a7bf6e153a658497fd0590083a0caddaf..ce54be7538fad85c94591273d83bdad75dd1f931 100644
|
| --- a/content/common/gpu/client/command_buffer_proxy_impl.cc
|
| +++ b/content/common/gpu/client/command_buffer_proxy_impl.cc
|
| @@ -21,7 +21,7 @@
|
| #include "ui/gfx/size.h"
|
|
|
| #if defined(OS_WIN)
|
| -#include "content/common/sandbox_policy.h"
|
| +#include "content/public/common/sandbox_init.h"
|
| #endif
|
|
|
| using gpu::Buffer;
|
| @@ -240,7 +240,7 @@ int32 CommandBufferProxyImpl::CreateTransferBuffer(
|
| base::SharedMemoryHandle handle = shm->handle();
|
| #if defined(OS_WIN)
|
| // Windows needs to explicitly duplicate the handle out to another process.
|
| - if (!sandbox::BrokerDuplicateHandle(handle, channel_->gpu_pid(),
|
| + if (!content::BrokerDuplicateHandle(handle, channel_->gpu_pid(),
|
| &handle, FILE_MAP_WRITE, 0)) {
|
| return -1;
|
| }
|
| @@ -271,7 +271,7 @@ int32 CommandBufferProxyImpl::RegisterTransferBuffer(
|
| base::SharedMemoryHandle handle = shared_memory->handle();
|
| #if defined(OS_WIN)
|
| // Windows needs to explicitly duplicate the handle out to another process.
|
| - if (!sandbox::BrokerDuplicateHandle(handle, channel_->gpu_pid(),
|
| + if (!content::BrokerDuplicateHandle(handle, channel_->gpu_pid(),
|
| &handle, FILE_MAP_WRITE, 0)) {
|
| return -1;
|
| }
|
|
|