| Index: content/common/gpu/client/gpu_memory_buffer_impl.h
|
| diff --git a/content/common/gpu/client/gpu_memory_buffer_impl.h b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| index 95bddccff2e3c8fdb36d2678059c6d889a3d77c7..2565c02653a71a4ac1a0b46a991dd4154839d95b 100644
|
| --- a/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| +++ b/content/common/gpu/client/gpu_memory_buffer_impl.h
|
| @@ -35,10 +35,15 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
|
| base::ProcessHandle child_process,
|
| const AllocationCallback& callback);
|
|
|
| + // Notify that GPU memory buffer has been deleted by |child_process|.
|
| + static void DeletedByChildProcess(gfx::GpuMemoryBufferType type,
|
| + const gfx::GpuMemoryBufferId& id,
|
| + base::ProcessHandle child_process);
|
| +
|
| // Creates an instance from the given |handle|. |size| and |internalformat|
|
| // should match what was used to allocate the |handle|.
|
| static scoped_ptr<GpuMemoryBufferImpl> CreateFromHandle(
|
| - gfx::GpuMemoryBufferHandle handle,
|
| + const gfx::GpuMemoryBufferHandle& handle,
|
| const gfx::Size& size,
|
| unsigned internalformat);
|
|
|
|
|