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

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

Issue 2615813003: Migrate WTF::Vector::append() to ::push_back() [part 14 of N] (Closed)
Patch Set: rebase, small fix in FontSettings.h 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 ee12c4f8b019a696160de6ff545e44b138e80eca..ebdae68540ed09a266243d33cd31d6c3a6fe8227 100644
--- a/third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapCompactTest.cpp
@@ -260,7 +260,7 @@ TEST(HeapCompactTest, CompactVectorPartHashMap) {
IntWrapper* val = IntWrapper::create(j);
map.add(val, 10 - j);
}
- intMapVector->append(map);
+ intMapVector->push_back(map);
}
EXPECT_EQ(10u, intMapVector->size());
@@ -291,7 +291,7 @@ TEST(HeapCompactTest, CompactHashPartVector) {
for (size_t i = 0; i < 10; ++i) {
IntVector vector;
for (size_t j = 0; j < 10; ++j) {
- vector.append(IntWrapper::create(j));
+ vector.push_back(IntWrapper::create(j));
}
intVectorMap->add(1 + i, vector);
}

Powered by Google App Engine
This is Rietveld 408576698