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 a6a6805d176e57333b32d28aa817681a4c9bcca7..67f04e10be5d8c877f7276529c1a4402fc867f1f 100644 |
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc |
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc |
@@ -213,8 +213,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived( |
OnAcceleratedSurfaceRelease) |
IPC_MESSAGE_HANDLER(GpuHostMsg_VideoMemoryUsageStats, |
OnVideoMemoryUsageStatsReceived); |
- IPC_MESSAGE_HANDLER(GpuHostMsg_UpdateVSyncParameters, |
- OnUpdateVSyncParameters) |
IPC_MESSAGE_HANDLER(GpuHostMsg_FrameDrawn, OnFrameDrawn) |
IPC_MESSAGE_UNHANDLED_ERROR() |
@@ -223,23 +221,6 @@ bool GpuProcessHostUIShim::OnControlMessageReceived( |
return true; |
} |
-void GpuProcessHostUIShim::OnUpdateVSyncParameters(int surface_id, |
- base::TimeTicks timebase, |
- base::TimeDelta interval) { |
- |
- int render_process_id = 0; |
- int render_widget_id = 0; |
- if (!GpuSurfaceTracker::Get()->GetRenderWidgetIDForSurface( |
- surface_id, &render_process_id, &render_widget_id)) { |
- return; |
- } |
- RenderWidgetHost* rwh = |
- RenderWidgetHost::FromID(render_process_id, render_widget_id); |
- if (!rwh) |
- return; |
- RenderWidgetHostImpl::From(rwh)->UpdateVSyncParameters(timebase, interval); |
-} |
- |
void GpuProcessHostUIShim::OnLogMessage( |
int level, |
const std::string& header, |