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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.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/ShapeResultBuffer.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp
index 4a4784e4086ae250d032bbb095a82f80dca66ee6..70ab66cb2167aa859df6e799102753cc5c9d6bec 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/ShapeResultBuffer.cpp
@@ -415,9 +415,9 @@ void ShapeResultBuffer::addRunInfoRanges(const ShapeResult::RunInfo& runInfo,
// To match getCharacterRange we flip ranges to ensure start <= end.
if (end < start)
- ranges.append(CharacterRange(end, start));
+ ranges.push_back(CharacterRange(end, start));
else
- ranges.append(CharacterRange(start, end));
+ ranges.push_back(CharacterRange(start, end));
}
}

Powered by Google App Engine
This is Rietveld 408576698