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

Unified Diff: cc/test/scheduler_test_common.h

Issue 2632563003: [cc] Calculate the correct latest_confirmed_sequence_number in cc::Scheduler. (Closed)
Patch Set: handle BeginFrameDropped and add test for it. 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
« cc/scheduler/scheduler.cc ('K') | « cc/test/fake_external_begin_frame_source.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/scheduler_test_common.h
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h
index 5194b0b9eb5d8554cc221441664a40dfa53d8d0c..975b20034ac83c046aaa65032b05d9de11be5e19 100644
--- a/cc/test/scheduler_test_common.h
+++ b/cc/test/scheduler_test_common.h
@@ -144,6 +144,10 @@ class TestScheduler : public Scheduler {
return begin_frame_source_ && observing_begin_frame_source_;
}
+ bool StateMachineNeedsBeginFrames() const {
brianderson 2017/02/23 20:20:36 Remove the StateMachine prefix to be consistent wi
Eric Seckler 2017/02/24 15:35:31 Done.
+ return state_machine_.BeginFrameNeeded();
+ }
+
int current_frame_number() const {
return state_machine_.current_frame_number();
}
« cc/scheduler/scheduler.cc ('K') | « cc/test/fake_external_begin_frame_source.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698