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

Unified Diff: cc/scheduler/scheduler.cc

Issue 2712983003: [cc] Set BeginFrame sequence numbers on CompositorFrames from Scheduler. (Closed)
Patch Set: fix comment + test. Created 3 years, 9 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/scheduler/scheduler.h ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler.cc
diff --git a/cc/scheduler/scheduler.cc b/cc/scheduler/scheduler.cc
index 66de03d3139dd6c003e698e4ecd5dce33c106308..93525696d74a3c0e0b7b79e14824ac9bb150e6a7 100644
--- a/cc/scheduler/scheduler.cc
+++ b/cc/scheduler/scheduler.cc
@@ -798,4 +798,11 @@ bool Scheduler::IsBeginMainFrameSentOrStarted() const {
SchedulerStateMachine::BEGIN_MAIN_FRAME_STATE_STARTED);
}
+BeginFrameAck Scheduler::CurrentBeginFrameAckForActiveTree() const {
+ return BeginFrameAck(
+ begin_main_frame_args_.source_id, begin_main_frame_args_.sequence_number,
+ state_machine_.last_begin_frame_sequence_number_active_tree_was_fresh(),
+ 0, true);
+}
+
} // namespace cc
« no previous file with comments | « cc/scheduler/scheduler.h ('k') | cc/scheduler/scheduler_state_machine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698