Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6662)

Unified Diff: cc/trees/thread_proxy.cc

Issue 401923003: Revert Removing base::TimeTicks argument to DrawLayers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase! Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 941d7df18ff2a8e23820eba9fb6bdc6f640161b9..e505e18a899e0eed322aa6c447ccb3d6deb84dc7 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -1086,7 +1086,8 @@ DrawResult ThreadProxy::DrawSwapInternal(bool forced_draw) {
}
if (draw_frame) {
- impl().layer_tree_host_impl->DrawLayers(&frame);
+ impl().layer_tree_host_impl->DrawLayers(
+ &frame, impl().scheduler->LastBeginImplFrameTime());
result = DRAW_SUCCESS;
impl().animations_frozen_until_next_draw = false;
} else if (result == DRAW_ABORTED_CHECKERBOARD_ANIMATIONS &&
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698