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

Unified Diff: cc/trees/proxy_impl.cc

Issue 2712983003: [cc] Set BeginFrame sequence numbers on CompositorFrames from Scheduler. (Closed)
Patch Set: store BeginFrameAck instead. Created 3 years, 10 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
Index: cc/trees/proxy_impl.cc
diff --git a/cc/trees/proxy_impl.cc b/cc/trees/proxy_impl.cc
index 7c2cb9fb26e060c5caf2f4c3a4d8887ec04d7ae1..d0279bedb08a0e83ed5793ad15f7c81b22c756b5 100644
--- a/cc/trees/proxy_impl.cc
+++ b/cc/trees/proxy_impl.cc
@@ -592,6 +592,7 @@ DrawResult ProxyImpl::DrawInternal(bool forced_draw) {
// CanDraw() as well.
LayerTreeHostImpl::FrameData frame;
+ frame.begin_frame_ack = scheduler_->CurrentBeginFrameAckForActiveTree();
bool draw_frame = false;
DrawResult result;

Powered by Google App Engine
This is Rietveld 408576698