| 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 8d240435fcf85dce1b3bc5ca73ca15324e84afd3..91e28476ae94d022999db3b98d8e811a99f32622 100644
|
| --- a/content/renderer/gpu/compositor_output_surface.cc
|
| +++ b/content/renderer/gpu/compositor_output_surface.cc
|
| @@ -43,7 +43,7 @@ IPC::ForwardingMessageFilter* CompositorOutputSurface::CreateFilter(
|
| ViewMsg_UpdateVSyncParameters::ID,
|
| ViewMsg_SwapCompositorFrameAck::ID,
|
| #if defined(OS_ANDROID)
|
| - ViewMsg_DidVSync::ID
|
| + ViewMsg_BeginChildFrame::ID
|
| #endif
|
| };
|
|
|
| @@ -136,7 +136,7 @@ void CompositorOutputSurface::OnMessageReceived(const IPC::Message& message) {
|
| IPC_MESSAGE_HANDLER(ViewMsg_UpdateVSyncParameters, OnUpdateVSyncParameters);
|
| IPC_MESSAGE_HANDLER(ViewMsg_SwapCompositorFrameAck, OnSwapAck);
|
| #if defined(OS_ANDROID)
|
| - IPC_MESSAGE_HANDLER(ViewMsg_DidVSync, OnDidVSync);
|
| + IPC_MESSAGE_HANDLER(ViewMsg_BeginChildFrame, OnBeginImplFrame);
|
| #endif
|
| IPC_END_MESSAGE_MAP()
|
| }
|
| @@ -148,14 +148,14 @@ void CompositorOutputSurface::OnUpdateVSyncParameters(
|
| }
|
|
|
| #if defined(OS_ANDROID)
|
| -void CompositorOutputSurface::EnableVSyncNotification(bool enable) {
|
| +void CompositorOutputSurface::SetNeedsBeginImplFrame(bool enable) {
|
| DCHECK(CalledOnValidThread());
|
| - Send(new ViewHostMsg_SetVSyncNotificationEnabled(routing_id_, enable));
|
| + Send(new ViewHostMsg_SetNeedsBeginChildFrame(routing_id_, enable));
|
| }
|
|
|
| -void CompositorOutputSurface::OnDidVSync(base::TimeTicks frame_time) {
|
| +void CompositorOutputSurface::OnBeginImplFrame(base::TimeTicks frame_time) {
|
| DCHECK(CalledOnValidThread());
|
| - client_->DidVSync(frame_time);
|
| + client_->BeginImplFrame(frame_time);
|
| }
|
| #endif // defined(OS_ANDROID)
|
|
|
|
|