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

Unified Diff: third_party/WebKit/Source/platform/text/LocaleICUTest.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/text/LocaleICUTest.cpp
diff --git a/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp b/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
index c34fa15bd71d4413dc3fba1142952b2d055e65b6..a359e1575bc778dc33af7d42282492082a4ba41c 100644
--- a/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
+++ b/third_party/WebKit/Source/platform/text/LocaleICUTest.cpp
@@ -76,8 +76,8 @@ class LocaleICUTest : public ::testing::Test {
protected:
Labels labelsFromTwoElements(const String& element1, const String& element2) {
Vector<String> labels = Vector<String>();
- labels.append(element1);
- labels.append(element2);
+ labels.push_back(element1);
+ labels.push_back(element2);
return Labels(labels);
}
« no previous file with comments | « third_party/WebKit/Source/platform/text/LocaleICU.cpp ('k') | third_party/WebKit/Source/platform/text/QuotedPrintable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698