| Index: third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/HeapTest.cpp b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| index 26070fa6b7026c4aff5c1e8fcf1f858bbead74e8..2481a8c95abe3a96f938029f65d5bb62bd4c590f 100644
|
| --- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
|
| @@ -3064,7 +3064,7 @@ void orderedSetHelper(bool strong) {
|
| EXPECT_EQ(set2->end(), iX);
|
|
|
| if (strong)
|
| - set1->remove(keepNumbersAlive[0]);
|
| + set1->erase(keepNumbersAlive[0]);
|
|
|
| keepNumbersAlive[0] = nullptr;
|
|
|
| @@ -3497,7 +3497,7 @@ TEST(HeapTest, HeapWeakCollectionTypes) {
|
| } else if (collectionNumber == weakOrderedSetIndex && firstAlive) {
|
| ASSERT_TRUE(weakOrderedSet->contains(keepNumbersAlive[i]));
|
| if (deleteAfterwards)
|
| - weakOrderedSet->remove(keepNumbersAlive[i]);
|
| + weakOrderedSet->erase(keepNumbersAlive[i]);
|
| else
|
| count++;
|
| }
|
|
|