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

Unified Diff: third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.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/fonts/SmallCapsIteratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp b/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp
index f2127cfe75a5a7551b4a30ba33ea599cedcc483c..9245ba64ec571699d699ac446884eeebe9e46e17 100644
--- a/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/SmallCapsIteratorTest.cpp
@@ -30,7 +30,7 @@ class SmallCapsIteratorTest : public testing::Test {
Vector<ExpectedRun> expect;
for (auto& run : runs) {
text.append(String::fromUTF8(run.text.c_str()));
- expect.append(ExpectedRun(text.length(), run.code));
+ expect.push_back(ExpectedRun(text.length(), run.code));
}
SmallCapsIterator smallCapsIterator(text.characters16(), text.length());
VerifyRuns(&smallCapsIterator, expect);

Powered by Google App Engine
This is Rietveld 408576698