| Index: ui/compositor/layer_unittest.cc
|
| diff --git a/ui/compositor/layer_unittest.cc b/ui/compositor/layer_unittest.cc
|
| index 0783ff05ba7638b7d8d2c56af285a0dfeb53479b..d06bf13196b94e21798ab0ce3cc863ce80eb70a6 100644
|
| --- a/ui/compositor/layer_unittest.cc
|
| +++ b/ui/compositor/layer_unittest.cc
|
| @@ -2210,9 +2210,17 @@ class TestMetricsReporter : public ui::AnimationMetricsReporter {
|
| DISALLOW_COPY_AND_ASSIGN(TestMetricsReporter);
|
| };
|
|
|
| +// TODO(crbug/709080): LayerWithRealCompositorTest.ReportMetrics is flaky on
|
| +// Windows.
|
| +#if defined(OS_WIN)
|
| +#define MAYBE_ReportMetrics DISABLED_ReportMetrics
|
| +#else
|
| +#define MAYBE_ReportMetrics ReportMetrics
|
| +#endif
|
| +
|
| // Starts an animation and tests that incrementing compositor frame count can
|
| // be used to report animation smoothness metrics.
|
| -TEST_F(LayerWithRealCompositorTest, ReportMetrics) {
|
| +TEST_F(LayerWithRealCompositorTest, MAYBE_ReportMetrics) {
|
| std::unique_ptr<Layer> root(CreateLayer(LAYER_SOLID_COLOR));
|
| GetCompositor()->SetRootLayer(root.get());
|
| LayerAnimator* animator = root->GetAnimator();
|
|
|