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