Index: Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
diff --git a/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp b/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
index 104f075d45d39c4af10c38451fcb240d08608eb6..7d61195b282983b85c9cb044f27684ac3985bce0 100644 |
--- a/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
+++ b/Source/core/paint/LayoutObjectDrawingRecorderTest.cpp |
@@ -68,12 +68,12 @@ void drawRect(GraphicsContext& context, LayoutView& layoutView, PaintPhase phase |
context.drawRect(rect); |
} |
-bool isDrawing(const DisplayItems::ItemHandle& item) |
+bool isDrawing(const DisplayItem& item) |
{ |
return DisplayItem::isDrawingType(item.type()); |
} |
-bool isCached(const DisplayItems::ItemHandle& item) |
+bool isCached(const DisplayItem& item) |
{ |
return DisplayItem::isCachedType(item.type()); |
} |
@@ -89,7 +89,7 @@ TEST_F(LayoutObjectDrawingRecorderTest, Nothing) |
EXPECT_EQ((size_t)1, rootDisplayItemList().displayItems().size()); |
const auto& item = rootDisplayItemList().displayItems()[0]; |
ASSERT_TRUE(isDrawing(item)); |
- EXPECT_FALSE(item.picture()); |
+ EXPECT_FALSE(static_cast<const DrawingDisplayItem&>(item).picture()); |
} |
TEST_F(LayoutObjectDrawingRecorderTest, Rect) |