Index: third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp b/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
index 5f07cd095598ce5aaf26d58334dbd24bd821ce04..6f8c1aaf055077f066729ef106fcd08304496686 100644 |
--- a/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/LayerClipRecorderTest.cpp |
@@ -60,6 +60,7 @@ void drawRectInClip(GraphicsContext& context, LayoutView& layoutView, PaintPhase |
TEST_F(LayerClipRecorderTest, Single) |
{ |
+ rootPaintController().invalidateAll(); |
GraphicsContext context(rootPaintController()); |
LayoutRect bound = layoutView().viewRect(); |
EXPECT_EQ((size_t)0, rootPaintController().displayItemList().size()); |
@@ -74,6 +75,7 @@ TEST_F(LayerClipRecorderTest, Single) |
TEST_F(LayerClipRecorderTest, Empty) |
{ |
+ rootPaintController().invalidateAll(); |
GraphicsContext context(rootPaintController()); |
EXPECT_EQ((size_t)0, rootPaintController().displayItemList().size()); |