| Index: cc/test/scheduler_test_common.h
|
| diff --git a/cc/test/scheduler_test_common.h b/cc/test/scheduler_test_common.h
|
| index 633289ba3ff729cf5f909d0201b2dd0410185f46..0d10a6ea535656b49283528e060fa8a66b982acf 100644
|
| --- a/cc/test/scheduler_test_common.h
|
| +++ b/cc/test/scheduler_test_common.h
|
| @@ -182,10 +182,20 @@ class TestScheduler : public Scheduler {
|
|
|
| bool CanStart() const { return state_machine_.CanStartForTesting(); }
|
|
|
| + bool NeedsCommit() const { return state_machine_.NeedsCommitForTesting(); }
|
| +
|
| BeginFrameSource& frame_source() { return *frame_source_; }
|
| bool FrameProductionThrottled() { return throttle_frame_production_; }
|
| BeginFrameArgs begin_impl_frame_args() { return begin_impl_frame_args_; }
|
|
|
| + bool MainThreadIsInHighLatencyMode() const {
|
| + return state_machine_.MainThreadIsInHighLatencyMode();
|
| + }
|
| +
|
| + bool ImplThreadIsLikelyInHighLatencyMode() const {
|
| + return state_machine_.swaps_are_likely_high_latency();
|
| + }
|
| +
|
| ~TestScheduler() override;
|
|
|
| void NotifyReadyToCommitThenActivateIfNeeded() {
|
|
|