| Index: cc/scheduler/scheduler_state_machine.h
|
| diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h
|
| index 4c342afca414a830848276d8c886434e078cad50..55581a457232b46732f098f4a912712cb5331f81 100644
|
| --- a/cc/scheduler/scheduler_state_machine.h
|
| +++ b/cc/scheduler/scheduler_state_machine.h
|
| @@ -144,11 +144,14 @@ class CC_EXPORT SchedulerStateMachine {
|
| // Exposed for testing purposes.
|
| void SetMaximumNumberOfFailedDrawsBeforeDrawIsForced(int num_draws);
|
|
|
| + // False if drawing is not being prevented, true if drawing won't happen
|
| + // for some reason, such as not being visible.
|
| + bool DrawSuspendedUntilCommit() const;
|
| +
|
| std::string ToString();
|
|
|
| protected:
|
| bool ShouldDrawForced() const;
|
| - bool DrawSuspendedUntilCommit() const;
|
| bool ScheduledToDraw() const;
|
| bool ShouldDraw() const;
|
| bool ShouldAttemptTreeActivation() const;
|
|
|