Index: content/renderer/gpu/compositor_output_surface.cc |
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc |
index 1ddafda0491764d4981b0189f2eba9abd516c88e..7cb51996d4fc94e9ac117a4d0302bc010836f7ff 100644 |
--- a/content/renderer/gpu/compositor_output_surface.cc |
+++ b/content/renderer/gpu/compositor_output_surface.cc |
@@ -138,8 +138,7 @@ |
if (!HasClient()) |
return; |
IPC_BEGIN_MESSAGE_MAP(CompositorOutputSurface, message) |
- IPC_MESSAGE_HANDLER(ViewMsg_UpdateVSyncParameters, |
- OnUpdateVSyncParametersFromBrowser); |
+ IPC_MESSAGE_HANDLER(ViewMsg_UpdateVSyncParameters, OnUpdateVSyncParameters); |
IPC_MESSAGE_HANDLER(ViewMsg_SwapCompositorFrameAck, OnSwapAck); |
IPC_MESSAGE_HANDLER(ViewMsg_ReclaimCompositorResources, OnReclaimResources); |
#if defined(OS_ANDROID) |
@@ -148,11 +147,10 @@ |
IPC_END_MESSAGE_MAP() |
} |
-void CompositorOutputSurface::OnUpdateVSyncParametersFromBrowser( |
- base::TimeTicks timebase, |
- base::TimeDelta interval) { |
- DCHECK(CalledOnValidThread()); |
- CommitVSyncParameters(timebase, interval); |
+void CompositorOutputSurface::OnUpdateVSyncParameters( |
+ base::TimeTicks timebase, base::TimeDelta interval) { |
+ DCHECK(CalledOnValidThread()); |
+ OnVSyncParametersChanged(timebase, interval); |
} |
#if defined(OS_ANDROID) |