Index: cc/trees/thread_proxy.cc |
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc |
index aff281fb3c1993fb2fa438927ee58e131ed1dd55..1d355cde39493c29e1c10a98e07d8d1a96894aec 100644 |
--- a/cc/trees/thread_proxy.cc |
+++ b/cc/trees/thread_proxy.cc |
@@ -976,8 +976,6 @@ ThreadProxy::ScheduledActionDrawAndSwapInternal(bool forced_draw) { |
if (draw_frame) |
CheckOutputSurfaceStatusOnImplThread(); |
- layer_tree_host_impl_->BeginNextFrame(); |
- |
return result; |
} |
@@ -1034,6 +1032,7 @@ void ThreadProxy::DidAnticipatedDrawTimeChange(base::TimeTicks time) { |
if (current_resource_update_controller_on_impl_thread_) |
current_resource_update_controller_on_impl_thread_ |
->PerformMoreUpdates(time); |
+ layer_tree_host_impl_->ResetCurrentFrameTimeForNextFrame(); |
} |
void ThreadProxy::ReadyToFinalizeTextureUpdates() { |