| Index: Source/core/paint/LayerClipRecorderTest.cpp
|
| diff --git a/Source/core/paint/LayerClipRecorderTest.cpp b/Source/core/paint/LayerClipRecorderTest.cpp
|
| index 87e3679f159f7a42d1b85374aebb020bcc7060e5..77449e5af986a5fb3841d9dbd2740104746f02c0 100644
|
| --- a/Source/core/paint/LayerClipRecorderTest.cpp
|
| +++ b/Source/core/paint/LayerClipRecorderTest.cpp
|
| @@ -67,9 +67,9 @@ TEST_F(LayerClipRecorderTest, Single)
|
| drawRectInClip(context, layoutView(), PaintPhaseForeground, bound);
|
| rootDisplayItemList().commitNewDisplayItems();
|
| EXPECT_EQ((size_t)3, rootDisplayItemList().displayItems().size());
|
| - EXPECT_TRUE(rootDisplayItemList().displayItems()[0]->isClip());
|
| - EXPECT_TRUE(rootDisplayItemList().displayItems()[1]->isDrawing());
|
| - EXPECT_TRUE(rootDisplayItemList().displayItems()[2]->isEndClip());
|
| + EXPECT_TRUE(DisplayItem::isClipType(rootDisplayItemList().displayItems()[0].type()));
|
| + EXPECT_TRUE(DisplayItem::isDrawingType(rootDisplayItemList().displayItems()[1].type()));
|
| + EXPECT_TRUE(DisplayItem::isEndClipType(rootDisplayItemList().displayItems()[2].type()));
|
| }
|
|
|
| TEST_F(LayerClipRecorderTest, Empty)
|
|
|