Index: third_party/WebKit/Source/platform/testing/ArenaTestHelpers.h |
diff --git a/third_party/WebKit/Source/platform/testing/ArenaTestHelpers.h b/third_party/WebKit/Source/platform/testing/ArenaTestHelpers.h |
index 0682f9c45942c42b639cffa348cbb3d543236ffe..d1797a5709ecfae45a6c55d5ac254f9634048687 100644 |
--- a/third_party/WebKit/Source/platform/testing/ArenaTestHelpers.h |
+++ b/third_party/WebKit/Source/platform/testing/ArenaTestHelpers.h |
@@ -52,7 +52,7 @@ class TrackedAllocator final : public PODArena::FastMallocAllocator { |
void free(void* ptr) override { |
size_t slot = m_allocatedRegions.find(ptr); |
ASSERT_NE(slot, kNotFound); |
- m_allocatedRegions.remove(slot); |
+ m_allocatedRegions.erase(slot); |
PODArena::FastMallocAllocator::free(ptr); |
} |