Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index fec7353ec096e9c256eeca845e18d3795b24d7de..f123addefee525e1206fddb3d5822821e2b6a621 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -571,7 +571,6 @@ bool GpuProcessHost::OnMessageReceived(const IPC::Message& message) { |
IPC_MESSAGE_HANDLER(GpuHostMsg_ChannelEstablished, OnChannelEstablished) |
IPC_MESSAGE_HANDLER(GpuHostMsg_CommandBufferCreated, OnCommandBufferCreated) |
IPC_MESSAGE_HANDLER(GpuHostMsg_DestroyCommandBuffer, OnDestroyCommandBuffer) |
- IPC_MESSAGE_HANDLER(GpuHostMsg_ImageCreated, OnImageCreated) |
IPC_MESSAGE_HANDLER(GpuHostMsg_GpuMemoryBufferCreated, |
OnGpuMemoryBufferCreated) |
IPC_MESSAGE_HANDLER(GpuHostMsg_DidCreateOffscreenContext, |
@@ -658,31 +657,6 @@ void GpuProcessHost::CreateViewCommandBuffer( |
} |
} |
-void GpuProcessHost::CreateImage(gfx::PluginWindowHandle window, |
- int client_id, |
- int image_id, |
- const CreateImageCallback& callback) { |
- TRACE_EVENT0("gpu", "GpuProcessHost::CreateImage"); |
- |
- DCHECK(CalledOnValidThread()); |
- |
- if (Send(new GpuMsg_CreateImage(window, client_id, image_id))) { |
- create_image_requests_.push(callback); |
- } else { |
- callback.Run(gfx::Size()); |
- } |
-} |
- |
-void GpuProcessHost::DeleteImage(int client_id, |
- int image_id, |
- int sync_point) { |
- TRACE_EVENT0("gpu", "GpuProcessHost::DeleteImage"); |
- |
- DCHECK(CalledOnValidThread()); |
- |
- Send(new GpuMsg_DeleteImage(client_id, image_id, sync_point)); |
-} |
- |
void GpuProcessHost::CreateGpuMemoryBuffer( |
const gfx::GpuMemoryBufferHandle& handle, |
const gfx::Size& size, |
@@ -773,17 +747,6 @@ void GpuProcessHost::OnDestroyCommandBuffer(int32 surface_id) { |
} |
} |
-void GpuProcessHost::OnImageCreated(const gfx::Size size) { |
- TRACE_EVENT0("gpu", "GpuProcessHost::OnImageCreated"); |
- |
- if (create_image_requests_.empty()) |
- return; |
- |
- CreateImageCallback callback = create_image_requests_.front(); |
- create_image_requests_.pop(); |
- callback.Run(size); |
-} |
- |
void GpuProcessHost::OnGpuMemoryBufferCreated( |
const gfx::GpuMemoryBufferHandle& handle) { |
TRACE_EVENT0("gpu", "GpuProcessHost::OnGpuMemoryBufferCreated"); |