| Index: cc/scheduler/scheduler_state_machine.h
|
| diff --git a/cc/scheduler/scheduler_state_machine.h b/cc/scheduler/scheduler_state_machine.h
|
| index fb3908b71ced9af5ad0bcfe58e360e75377a3abf..5c1b03be9cc2d4d3ffaca57125858330c903e353 100644
|
| --- a/cc/scheduler/scheduler_state_machine.h
|
| +++ b/cc/scheduler/scheduler_state_machine.h
|
| @@ -70,14 +70,14 @@ class CC_EXPORT SchedulerStateMachine {
|
| Action NextAction() const;
|
| void UpdateState(Action action);
|
|
|
| - // Indicates whether the scheduler needs a vsync callback in order to make
|
| - // progress.
|
| - bool VSyncCallbackNeeded() const;
|
| + // Indicates whether the scheduler needs a BeginFrame callback in order to
|
| + // make progress.
|
| + bool BeginFrameCallbackNeeded() const;
|
|
|
| - // Indicates that the system has entered and left a vsync callback.
|
| - // The scheduler will not draw more than once in a given vsync callback.
|
| - void DidEnterVSync();
|
| - void DidLeaveVSync();
|
| + // Indicates that the system has entered and left a BeginFrame callback.
|
| + // The scheduler will not draw more than once in a given BeginFrame callback.
|
| + void DidEnterBeginFrame();
|
| + void DidLeaveBeginFrame();
|
|
|
| // Indicates whether the LayerTreeHostImpl is visible.
|
| void SetVisible(bool visible);
|
| @@ -180,7 +180,7 @@ class CC_EXPORT SchedulerStateMachine {
|
| bool needs_forced_commit_;
|
| bool expect_immediate_begin_frame_;
|
| bool main_thread_needs_layer_textures_;
|
| - bool inside_vsync_;
|
| + bool inside_begin_frame_;
|
| bool visible_;
|
| bool can_start_;
|
| bool can_draw_;
|
|
|