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 3a85dc212a7dd06bdaf4a5b849bc44c26956979b..9b58b4e3ddf270e67ab3d5aeba4e440aedaf6fb4 100644 |
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp |
@@ -5573,7 +5573,7 @@ TEST(HeapTest, GCInHashMapOperations) { |
Map* map = new Map(); |
IntWrapper* key = new IntWrapper(42); |
map->add(key, AllocatesOnAssignment(103)); |
- map->remove(key); |
+ map->erase(key); |
for (int i = 0; i < 10; i++) |
map->add(AllocatesOnAssignment(i), AllocatesOnAssignment(i)); |
for (Map::iterator it = map->begin(); it != map->end(); ++it) |