Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp |
index b9c7489be135251925fdc5b72b32a3796a0b7979..e2155bcde43cccd4b838cbb9b895fa94f21b7d4d 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositorTest.cpp |
@@ -39,6 +39,9 @@ TEST_F(PaintLayerCompositorTest, AdvancingToCompositingInputsClean) { |
EXPECT_EQ(DocumentLifecycle::kCompositingInputsClean, |
GetDocument().Lifecycle().GetState()); |
EXPECT_FALSE(box_layer->NeedsCompositingInputsUpdate()); |
+ |
+ GetDocument().View()->SetNeedsLayout(); |
+ EXPECT_TRUE(GetDocument().View()->NeedsLayout()); |
} |
TEST_F(PaintLayerCompositorTest, |