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