| Index: cc/scheduler/scheduler_state_machine.h
|
| diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h
|
| index 238c08c42d166c47acd80c4a682fd225cbf6d033..d57cc0012fa55c41ef6b362e016c77d8a782054b 100644
|
| --- a/cc/scheduler/scheduler_state_machine.h
|
| +++ b/cc/scheduler/scheduler_state_machine.h
|
| @@ -179,6 +179,8 @@ class CC_EXPORT SchedulerStateMachine {
|
| // Notification from the OutputSurface that a swap has been consumed.
|
| void DidSwapBuffersComplete();
|
|
|
| + int pending_swaps() const { return pending_swaps_; }
|
| +
|
| // Indicates whether to prioritize impl thread latency (i.e., animation
|
| // smoothness) over new content activation.
|
| void SetImplLatencyTakesPriority(bool impl_latency_takes_priority);
|
| @@ -320,6 +322,7 @@ class CC_EXPORT SchedulerStateMachine {
|
| int consecutive_checkerboard_animations_;
|
| int max_pending_swaps_;
|
| int pending_swaps_;
|
| + int swaps_with_current_output_surface_;
|
| bool needs_redraw_;
|
| bool needs_animate_;
|
| bool needs_prepare_tiles_;
|
|
|