| Index: content/browser/renderer_host/render_process_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
|
| index db3dea1946bbd01757d470ba70d9ba738d158aa2..eaa128ea0975bcc61e468d3c544a3ba3bc9d5e1a 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -1372,6 +1372,8 @@ bool RenderProcessHostImpl::OnMessageReceived(const IPC::Message& msg) {
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(
|
| ChildProcessHostMsg_SyncAllocateGpuMemoryBuffer,
|
| OnAllocateGpuMemoryBuffer)
|
| + IPC_MESSAGE_HANDLER(ChildProcessHostMsg_DeletedGpuMemoryBuffer,
|
| + OnDeletedGpuMemoryBuffer)
|
| IPC_MESSAGE_HANDLER(ViewHostMsg_Close_ACK, OnCloseACK)
|
| #if defined(ENABLE_WEBRTC)
|
| IPC_MESSAGE_HANDLER(AecDumpMsg_RegisterAecDumpConsumer,
|
| @@ -2339,4 +2341,11 @@ void RenderProcessHostImpl::GpuMemoryBufferAllocated(
|
| Send(reply);
|
| }
|
|
|
| +void RenderProcessHostImpl::OnDeletedGpuMemoryBuffer(
|
| + gfx::GpuMemoryBufferType type,
|
| + const gfx::GpuMemoryBufferId& id) {
|
| + DCHECK_CURRENTLY_ON(BrowserThread::UI);
|
| + GpuMemoryBufferImpl::DeletedByChildProcess(type, id, GetHandle());
|
| +}
|
| +
|
| } // namespace content
|
|
|