Index: test/cctest/test-field-type-tracking.cc |
diff --git a/test/cctest/test-field-type-tracking.cc b/test/cctest/test-field-type-tracking.cc |
index 0ecf7911bd45e5551ae594dcd7cbc6277e378b5a..03d9c52ed0da9b01b4f240a6f0d09cc86a319ef4 100644 |
--- a/test/cctest/test-field-type-tracking.cc |
+++ b/test/cctest/test-field-type-tracking.cc |
@@ -1768,9 +1768,9 @@ static void TestReconfigureElementsKind_GeneralizeField( |
// Ensure Map::FindElementsKindTransitionedMap() is able to find the |
// transitioned map. |
{ |
- MapHandleList map_list; |
- map_list.Add(updated_map); |
- Map* transitioned_map = map2->FindElementsKindTransitionedMap(&map_list); |
+ MapHandles map_list; |
+ map_list.push_back(updated_map); |
+ Map* transitioned_map = map2->FindElementsKindTransitionedMap(map_list); |
CHECK_EQ(*updated_map, transitioned_map); |
} |
} |
@@ -1863,9 +1863,9 @@ static void TestReconfigureElementsKind_GeneralizeFieldTrivial( |
// Ensure Map::FindElementsKindTransitionedMap() is able to find the |
// transitioned map. |
{ |
- MapHandleList map_list; |
- map_list.Add(updated_map); |
- Map* transitioned_map = map2->FindElementsKindTransitionedMap(&map_list); |
+ MapHandles map_list; |
+ map_list.push_back(updated_map); |
+ Map* transitioned_map = map2->FindElementsKindTransitionedMap(map_list); |
CHECK_EQ(*updated_map, transitioned_map); |
} |
} |