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

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

Issue 2657443005: Migrate WTF::HashSet::add() to ::insert() [part 1 of N] (Closed)
Patch Set: Created 3 years, 11 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/HeapCompactTest.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp b/third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp
index ebdae68540ed09a266243d33cd31d6c3a6fe8227..ab637f05aa6ac2d783d729896a9a0921cfd8ad23 100644
--- a/third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp
@@ -406,7 +406,7 @@ TEST(HeapCompactTest, CompactLinkedHashSetMap) {
for (int i = 0; i < 13; ++i) {
IntWrapper* value = IntWrapper::create(i);
Inner* inner = new Inner;
- inner->add(value);
+ inner->insert(value);
set->add(inner);
}
EXPECT_EQ(13u, set->size());

Powered by Google App Engine
This is Rietveld 408576698