| Index: cc/scheduler_state_machine.h
|
| diff --git a/cc/scheduler_state_machine.h b/cc/scheduler_state_machine.h
|
| index 11868279a54020a238f84a5a76e8b386b417f84e..5959bff343e4c17d33026f96eba7c771c79626c4 100644
|
| --- a/cc/scheduler_state_machine.h
|
| +++ b/cc/scheduler_state_machine.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "cc/cc_export.h"
|
| +#include "cc/scheduler_settings.h"
|
|
|
| namespace cc {
|
|
|
| @@ -24,7 +25,8 @@ namespace cc {
|
| // make testing cleaner.
|
| class CC_EXPORT SchedulerStateMachine {
|
| public:
|
| - SchedulerStateMachine();
|
| + // settings must be valid for the lifetime of this class.
|
| + SchedulerStateMachine(const SchedulerSettings& settings);
|
|
|
| enum CommitState {
|
| COMMIT_STATE_IDLE,
|
| @@ -149,6 +151,8 @@ protected:
|
| bool hasDrawnThisFrame() const;
|
| bool hasAttemptedTreeActivationThisFrame() const;
|
|
|
| + const SchedulerSettings m_settings;
|
| +
|
| CommitState m_commitState;
|
|
|
| int m_currentFrameNumber;
|
|
|