Index: cc/scheduler_state_machine.h |
diff --git a/cc/scheduler_state_machine.h b/cc/scheduler_state_machine.h |
index 11868279a54020a238f84a5a76e8b386b417f84e..eda537fde068a84d5893fbe758714f6d1084abdf 100644 |
--- a/cc/scheduler_state_machine.h |
+++ b/cc/scheduler_state_machine.h |
@@ -12,6 +12,8 @@ |
namespace cc { |
+class LayerTreeSettings; |
+ |
// The SchedulerStateMachine decides how to coordinate main thread activites |
// like painting/running javascript with rendering and input activities on the |
// impl thread. |
@@ -24,7 +26,7 @@ namespace cc { |
// make testing cleaner. |
class CC_EXPORT SchedulerStateMachine { |
public: |
- SchedulerStateMachine(); |
+ SchedulerStateMachine(const LayerTreeSettings& layerTreeSettings); |
enum CommitState { |
COMMIT_STATE_IDLE, |
@@ -149,6 +151,8 @@ protected: |
bool hasDrawnThisFrame() const; |
bool hasAttemptedTreeActivationThisFrame() const; |
+ const LayerTreeSettings& m_layerTreeSettings; |
+ |
CommitState m_commitState; |
int m_currentFrameNumber; |