Index: Source/core/paint/DisplayItemListPaintTest.cpp |
diff --git a/Source/core/paint/DisplayItemListPaintTest.cpp b/Source/core/paint/DisplayItemListPaintTest.cpp |
index 4ccac96c24c32f3dfa60ceb578a338fee83cd637..d1f0efed3674d04713910f7d56395684315c1364 100644 |
--- a/Source/core/paint/DisplayItemListPaintTest.cpp |
+++ b/Source/core/paint/DisplayItemListPaintTest.cpp |
@@ -78,9 +78,9 @@ public: |
break; \ |
const TestDisplayItem expected[] = { __VA_ARGS__ }; \ |
for (size_t index = 0; index < std::min<size_t>(actual.size(), expectedSize); index++) { \ |
- TRACE_DISPLAY_ITEMS(index, expected[index], actual[index]); \ |
- EXPECT_EQ(expected[index].client(), actual[index].client()); \ |
- EXPECT_EQ(expected[index].type(), actual[index].type()); \ |
+ TRACE_DISPLAY_ITEMS(index, expected[index], *actual.elementAt(index)); \ |
+ EXPECT_EQ(expected[index].client(), actual.elementAt(index)->client()); \ |
+ EXPECT_EQ(expected[index].type(), actual.elementAt(index)->type()); \ |
} \ |
} while (false); |