Chromium Code Reviews| Index: content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc b/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
| index 0fc371b99dac9f24de68c5c5d347bec58863eca8..b0a938f9e7ecd57fbc6ba350be6d04a50d92449f 100644 |
| --- a/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc |
| @@ -7,6 +7,11 @@ |
| #include "content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h" |
| namespace content { |
| +#if defined(USE_OZONE) |
| +namespace { |
| +const int kBrowserClientId = 1; |
| +} // namespace |
| +#endif // defined(USE_OZONE) |
|
reveman
2014/08/12 20:19:11
remove all this
achaulk
2014/08/12 21:38:01
Done.
|
| // static |
| scoped_ptr<GpuMemoryBufferImpl> GpuMemoryBufferImpl::Create( |
| @@ -32,6 +37,8 @@ void GpuMemoryBufferImpl::AllocateForChildProcess( |
| unsigned internalformat, |
| unsigned usage, |
| base::ProcessHandle child_process, |
| + int child_id, |
| + GpuMemoryBufferFactoryHost* factory_host, |
| const AllocationCallback& callback) { |
| if (GpuMemoryBufferImplSharedMemory::IsConfigurationSupported( |
| size, internalformat, usage)) { |