| Index: ash/mus/non_client_frame_controller_unittest.cc
|
| diff --git a/ash/mus/non_client_frame_controller_unittest.cc b/ash/mus/non_client_frame_controller_unittest.cc
|
| index e54cc827add3e1b08d8548e2ba3a38f7668235a2..ba7c9dfe8ef21654ba7252e619edcad2ce04bfa1 100644
|
| --- a/ash/mus/non_client_frame_controller_unittest.cc
|
| +++ b/ash/mus/non_client_frame_controller_unittest.cc
|
| @@ -120,7 +120,7 @@ TEST_F(NonClientFrameControllerTest, ContentRegionNotDrawnForClient) {
|
| // Without the window visible, there should be a tile for the wallpaper at
|
| // (tile_x, tile_y) of size |tile_size|.
|
| compositor->ScheduleDraw();
|
| - ui::DrawWaiterForTest::WaitForCompositingEnded(compositor);
|
| + ui::DrawWaiterForTest::WaitForCompositingStarted(compositor);
|
| {
|
| const cc::CompositorFrame& frame = GetLastCompositorFrame();
|
| ASSERT_EQ(1u, frame.render_pass_list.size());
|
| @@ -133,7 +133,7 @@ TEST_F(NonClientFrameControllerTest, ContentRegionNotDrawnForClient) {
|
| widget->SetBounds(widget_bound);
|
| widget->Show();
|
| compositor->ScheduleDraw();
|
| - ui::DrawWaiterForTest::WaitForCompositingEnded(compositor);
|
| + ui::DrawWaiterForTest::WaitForCompositingStarted(compositor);
|
| {
|
| // This time, that tile for the wallpaper will not be drawn.
|
| const cc::CompositorFrame& frame = GetLastCompositorFrame();
|
|
|