| Index: cc/scheduler/scheduler_state_machine_unittest.cc
|
| diff --git a/cc/scheduler/scheduler_state_machine_unittest.cc b/cc/scheduler/scheduler_state_machine_unittest.cc
|
| index 93e2cc26faa84e547c97b8c21202b6d947a22f42..aa5c4aac39a1164318196bfee92197fcbc1a2909 100644
|
| --- a/cc/scheduler/scheduler_state_machine_unittest.cc
|
| +++ b/cc/scheduler/scheduler_state_machine_unittest.cc
|
| @@ -2123,32 +2123,5 @@ TEST(SchedulerStateMachineTest,
|
| SchedulerStateMachine::ACTION_BEGIN_COMPOSITOR_FRAME_SINK_CREATION);
|
| }
|
|
|
| -TEST(SchedulerStateMachineTest, CompositorFrameSinkCreationWhileCommitPending) {
|
| - SchedulerSettings settings;
|
| - settings.abort_commit_before_compositor_frame_sink_creation = false;
|
| - StateMachine state(settings);
|
| - SET_UP_STATE(state);
|
| -
|
| - // Set up the request for a commit and start a frame.
|
| - state.SetNeedsBeginMainFrame();
|
| - state.OnBeginImplFrame();
|
| - PerformAction(&state, SchedulerStateMachine::ACTION_SEND_BEGIN_MAIN_FRAME);
|
| -
|
| - // Lose the CompositorFrameSink.
|
| - state.DidLoseCompositorFrameSink();
|
| -
|
| - // The scheduler shouldn't trigger the CompositorFrameSink creation till the
|
| - // previous begin impl frame state is cleared from the pipeline.
|
| - EXPECT_ACTION_UPDATE_STATE(SchedulerStateMachine::ACTION_NONE);
|
| -
|
| - // Cycle through the frame stages to clear the scheduler state.
|
| - state.OnBeginImplFrameDeadline();
|
| - state.OnBeginImplFrameIdle();
|
| -
|
| - // The scheduler should begin the CompositorFrameSink creation now.
|
| - EXPECT_ACTION_UPDATE_STATE(
|
| - SchedulerStateMachine::ACTION_BEGIN_COMPOSITOR_FRAME_SINK_CREATION);
|
| -}
|
| -
|
| } // namespace
|
| } // namespace cc
|
|
|