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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.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/shaping/RunSegmenterTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
index 93fb0e6111da31a34b22f47e1346e60d3a047676..833057dba30108a9914bb59738150a71826ed970 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/RunSegmenterTest.cpp
@@ -49,9 +49,9 @@ class RunSegmenterTest : public testing::Test {
for (auto& run : runs) {
unsigned lengthBefore = text.length();
text.append(String::fromUTF8(run.text.c_str()));
- expect.append(SegmenterExpectedRun(lengthBefore, text.length(),
- run.script, run.renderOrientation,
- run.fontFallbackPriority));
+ expect.push_back(SegmenterExpectedRun(lengthBefore, text.length(),
+ run.script, run.renderOrientation,
+ run.fontFallbackPriority));
}
RunSegmenter runSegmenter(text.characters16(), text.length(), orientation);
VerifyRuns(&runSegmenter, expect);

Powered by Google App Engine
This is Rietveld 408576698