| Index: cc/trees/thread_proxy.cc
|
| diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
|
| index 731e236c3c80df30681b13042e9e5b64a70cba4e..56e2a64681c8896c0f5e776158cccc39ac927eeb 100644
|
| --- a/cc/trees/thread_proxy.cc
|
| +++ b/cc/trees/thread_proxy.cc
|
| @@ -683,8 +683,8 @@ void ThreadProxy::ScheduledActionSendBeginMainFrame() {
|
| scoped_ptr<BeginMainFrameAndCommitState> begin_main_frame_state(
|
| new BeginMainFrameAndCommitState);
|
| begin_main_frame_state->begin_frame_id = begin_frame_id;
|
| - begin_main_frame_state->monotonic_frame_begin_time =
|
| - impl().layer_tree_host_impl->CurrentFrameTimeTicks();
|
| + begin_main_frame_state->begin_frame_args =
|
| + impl().layer_tree_host_impl->CurrentBeginFrameArgs();
|
| begin_main_frame_state->scroll_info =
|
| impl().layer_tree_host_impl->ProcessScrollDeltas();
|
|
|
| @@ -770,12 +770,11 @@ void ThreadProxy::BeginMainFrame(
|
|
|
| layer_tree_host()->WillBeginMainFrame();
|
|
|
| - layer_tree_host()->UpdateClientAnimations(
|
| - begin_main_frame_state->monotonic_frame_begin_time);
|
| + layer_tree_host()->BeginMainFrame(begin_main_frame_state->begin_frame_args);
|
| layer_tree_host()->AnimateLayers(
|
| - begin_main_frame_state->monotonic_frame_begin_time);
|
| + begin_main_frame_state->begin_frame_args.frame_time);
|
| blocked_main().last_monotonic_frame_begin_time =
|
| - begin_main_frame_state->monotonic_frame_begin_time;
|
| + begin_main_frame_state->begin_frame_args.frame_time;
|
|
|
| // Unlink any backings that the impl thread has evicted, so that we know to
|
| // re-paint them in UpdateLayers.
|
| @@ -947,7 +946,7 @@ void ThreadProxy::ScheduledActionAnimate() {
|
|
|
| if (!impl().animations_frozen_until_next_draw) {
|
| impl().animation_time =
|
| - impl().layer_tree_host_impl->CurrentFrameTimeTicks();
|
| + impl().layer_tree_host_impl->CurrentBeginFrameArgs().frame_time;
|
| }
|
| impl().layer_tree_host_impl->Animate(impl().animation_time);
|
| impl().did_commit_after_animating = false;
|
| @@ -1157,7 +1156,7 @@ base::TimeDelta ThreadProxy::CommitToActivateDurationEstimate() {
|
| }
|
|
|
| void ThreadProxy::DidBeginImplFrameDeadline() {
|
| - impl().layer_tree_host_impl->ResetCurrentFrameTimeForNextFrame();
|
| + impl().layer_tree_host_impl->ResetCurrentBeginFrameArgsForNextFrame();
|
| }
|
|
|
| void ThreadProxy::ReadyToFinalizeTextureUpdates() {
|
|
|