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

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

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference Created 3 years, 10 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 04b6e40969c9bab3f0f8dbc3286025d5cd4ecaad..c741cfed1bdb38d797e9430d95a86ff147af0739 100644
--- a/third_party/WebKit/Source/platform/heap/HeapTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapTest.cpp
@@ -3498,7 +3498,7 @@ TEST(HeapTest, HeapWeakCollectionTypes) {
} else if (collectionNumber == weakSetIndex && firstAlive) {
ASSERT_TRUE(weakSet->contains(keepNumbersAlive[i]));
if (deleteAfterwards)
- weakSet->remove(keepNumbersAlive[i]);
+ weakSet->erase(keepNumbersAlive[i]);
else
count++;
} else if (collectionNumber == weakOrderedSetIndex && firstAlive) {
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Heap.cpp ('k') | third_party/WebKit/Source/platform/loader/fetch/Resource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698