Index: content/browser/gpu/gpu_process_host_ui_shim.cc |
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc |
index 131a42cf3b54ff6b3f53a615acbc05adb8bf6212..8c146487ab85dbba7538d359d8c57a1a3d8d0d9d 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc |
@@ -196,8 +196,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived( |
OnUpdateVSyncParameters) |
IPC_MESSAGE_HANDLER(GpuHostMsg_FrameDrawn, OnFrameDrawn) |
- IPC_MESSAGE_HANDLER(GpuHostMsg_ResizeView, OnResizeView) |
- |
IPC_MESSAGE_UNHANDLED_ERROR() |
IPC_END_MESSAGE_MAP() |
@@ -238,24 +236,6 @@ void GpuProcessHostUIShim::OnGraphicsInfoCollected( |
GpuDataManagerImpl::GetInstance()->UpdateGpuInfo(gpu_info); |
} |
-void GpuProcessHostUIShim::OnResizeView(int32 surface_id, |
- int32 route_id, |
- gfx::Size size) { |
- // Always respond even if the window no longer exists. The GPU process cannot |
- // make progress on the resizing command buffer until it receives the |
- // response. |
- ScopedSendOnIOThread delayed_send( |
- host_id_, |
- new AcceleratedSurfaceMsg_ResizeViewACK(route_id)); |
- |
- RenderWidgetHostViewPort* view = |
- GetRenderWidgetHostViewFromSurfaceID(surface_id); |
- if (!view) |
- return; |
- |
- view->ResizeCompositingSurface(size); |
-} |
- |
void GpuProcessHostUIShim::OnAcceleratedSurfaceInitialized(int32 surface_id, |
int32 route_id) { |
RenderWidgetHostViewPort* view = |