| Index: ui/compositor/layer_unittest.cc
|
| diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc
|
| index 911788fede5f9eaf0d6d06549093f1398a4ea02d..6f178cacebb6d86b2494f44fd18e4306caeb9451 100644
|
| --- a/ui/compositor/layer_unittest.cc
|
| +++ b/ui/compositor/layer_unittest.cc
|
| @@ -2230,7 +2230,7 @@ TEST_F(LayerWithRealCompositorTest, MAYBE_ReportMetrics) {
|
| animation_sequence->SetAnimationMetricsReporter(&reporter);
|
| animator->StartAnimation(animation_sequence);
|
| while (!reporter.report_called())
|
| - WaitForDraw();
|
| + WaitForSwap();
|
| ResetCompositor();
|
| // Even though most of the time 100% smooth animations are expected, on the
|
| // test bots this cannot be guaranteed. Therefore simply check that some
|
|
|