Index: cc/test/scheduler_test_common.h |
diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h |
index c1a8c1023599f25f4fec18593daa43325453d94a..df2b31f6b35e6c03f4bd6744997cd7a36bb14544 100644 |
--- a/cc/test/scheduler_test_common.h |
+++ b/cc/test/scheduler_test_common.h |
@@ -213,9 +213,15 @@ class TestScheduler : public Scheduler { |
bool CanStart() const { return state_machine_.CanStartForTesting(); } |
+ bool NeedsCommit() const { return state_machine_.needs_commit(); } |
+ |
BeginFrameSource& frame_source() { return *frame_source_; } |
bool FrameProductionThrottled() { return throttle_frame_production_; } |
+ bool MainThreadIsInHighLatencyMode() const { |
+ return state_machine_.MainThreadIsInHighLatencyMode(); |
+ } |
+ |
~TestScheduler() override; |
base::TimeDelta BeginImplFrameInterval() { |