Index: third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
diff --git a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
index c0eb0e53b90b99020ea44b39526b2500a82b8ce2..abc9a5abb68e0088009b16f447c51be5f8196b45 100644 |
--- a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
@@ -76,9 +76,7 @@ TEST_F(LayoutObjectDrawingRecorderTest, Cached) |
drawNothing(context, layoutView(), PaintPhaseSelfBlockBackgroundOnly, bound); |
drawRect(context, layoutView(), PaintPhaseForeground, bound); |
- EXPECT_DISPLAY_LIST(rootPaintController().newDisplayItemList(), 2, |
- TestDisplayItem(layoutView(), DisplayItem::drawingTypeToCachedDrawingType(DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfBlockBackgroundOnly))), |
- TestDisplayItem(layoutView(), DisplayItem::drawingTypeToCachedDrawingType(DisplayItem::paintPhaseToDrawingType(PaintPhaseForeground)))); |
+ EXPECT_EQ(2, numCachedNewItems()); |
rootPaintController().commitNewDisplayItems(); |