Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: third_party/WebKit/Source/platform/heap/HeapTest.cpp

Issue 2799573003: Migrate WTF::HashCountedSet::remove() to ::erase() (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 7affa63f7f28076e9a6cf007f64aab1f254a43bc..af9788e2f7dea7c772183bd7089a6998c96273b4 100644
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
@@ -2963,7 +2963,7 @@ TEST(HeapTest, HeapWeakCollectionSimple) {
EXPECT_EQ(4u, weakSet->size());
EXPECT_EQ(4u, weakCountedSet->size());
EXPECT_EQ(3u, weakCountedSet->find(two)->value);
- weakCountedSet->remove(two);
+ weakCountedSet->erase(two);
EXPECT_EQ(2u, weakCountedSet->find(two)->value);
}

Powered by Google App Engine
This is Rietveld 408576698