Index: content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
diff --git a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
index 2d28a3ead3b281857c7366b303e5f3976c183412..d84d031b8712dac4dd6f71f2d08b9c094aa8fcee 100644 |
--- a/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
+++ b/content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.h |
@@ -12,11 +12,13 @@ namespace content { |
// Implementation of GPU memory buffer based on shared memory. |
class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl { |
public: |
- static void Create(const gfx::Size& size, |
+ static void Create(gfx::GpuMemoryBufferId id, |
+ const gfx::Size& size, |
Format format, |
const CreationCallback& callback); |
- static void AllocateForChildProcess(const gfx::Size& size, |
+ static void AllocateForChildProcess(gfx::GpuMemoryBufferId id, |
+ const gfx::Size& size, |
Format format, |
base::ProcessHandle child_process, |
const AllocationCallback& callback); |
@@ -41,7 +43,8 @@ class GpuMemoryBufferImplSharedMemory : public GpuMemoryBufferImpl { |
gfx::GpuMemoryBufferHandle GetHandle() const override; |
private: |
- GpuMemoryBufferImplSharedMemory(const gfx::Size& size, |
+ GpuMemoryBufferImplSharedMemory(gfx::GpuMemoryBufferId id, |
+ const gfx::Size& size, |
Format format, |
const DestructionCallback& callback, |
scoped_ptr<base::SharedMemory> shared_memory); |