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 c6d091fa6b3eb31cdfc9bc89f96d465f5e25ff08..9e4285f8eb9d4f3b1f6e1777e85fc8869d60b7ae 100644 |
--- a/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
+++ b/third_party/WebKit/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
@@ -65,25 +65,25 @@ TEST_F(LayoutObjectDrawingRecorderTest, Cached) |
rootPaintController().invalidateAll(); |
GraphicsContext context(rootPaintController()); |
LayoutRect bound = layoutView().viewRect(); |
- drawNothing(context, layoutView(), PaintPhaseSelfBlockBackground, bound); |
+ drawNothing(context, layoutView(), PaintPhaseSelfBlockBackgroundOnly, bound); |
drawRect(context, layoutView(), PaintPhaseForeground, bound); |
rootPaintController().commitNewDisplayItems(); |
EXPECT_DISPLAY_LIST(rootPaintController().displayItemList(), 2, |
- TestDisplayItem(layoutView(), DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfBlockBackground)), |
+ TestDisplayItem(layoutView(), DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfBlockBackgroundOnly)), |
TestDisplayItem(layoutView(), DisplayItem::paintPhaseToDrawingType(PaintPhaseForeground))); |
- drawNothing(context, layoutView(), PaintPhaseSelfBlockBackground, bound); |
+ drawNothing(context, layoutView(), PaintPhaseSelfBlockBackgroundOnly, bound); |
drawRect(context, layoutView(), PaintPhaseForeground, bound); |
EXPECT_DISPLAY_LIST(rootPaintController().newDisplayItemList(), 2, |
- TestDisplayItem(layoutView(), DisplayItem::drawingTypeToCachedDrawingType(DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfBlockBackground))), |
+ TestDisplayItem(layoutView(), DisplayItem::drawingTypeToCachedDrawingType(DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfBlockBackgroundOnly))), |
TestDisplayItem(layoutView(), DisplayItem::drawingTypeToCachedDrawingType(DisplayItem::paintPhaseToDrawingType(PaintPhaseForeground)))); |
rootPaintController().commitNewDisplayItems(); |
EXPECT_DISPLAY_LIST(rootPaintController().displayItemList(), 2, |
- TestDisplayItem(layoutView(), DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfBlockBackground)), |
+ TestDisplayItem(layoutView(), DisplayItem::paintPhaseToDrawingType(PaintPhaseSelfBlockBackgroundOnly)), |
TestDisplayItem(layoutView(), DisplayItem::paintPhaseToDrawingType(PaintPhaseForeground))); |
} |