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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.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/CachingWordShaper.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
index 6653ae1d69a2d566a46844a1ecafc8ae2ceebd3e..c2261289d0b79598cba7ebe9d6cf657cc9d23b66 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
@@ -140,7 +140,7 @@ Vector<CharacterRange> CachingWordShaper::individualCharacterRanges(
// crbug.com/613915 and crbug.com/615661) so add empty ranges to ensure all
// characters have an associated range.
while (ranges.size() < static_cast<unsigned>(run.length()))
- ranges.append(CharacterRange(0, 0));
+ ranges.push_back(CharacterRange(0, 0));
return ranges;
}

Powered by Google App Engine
This is Rietveld 408576698