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

Unified Diff: third_party/WebKit/Source/platform/text/Hyphenation.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/Hyphenation.cpp
diff --git a/third_party/WebKit/Source/platform/text/Hyphenation.cpp b/third_party/WebKit/Source/platform/text/Hyphenation.cpp
index 99431b415c426257778a86e82523ab2117f39788..db36804d2550b31cadefa6ce14bd14cd6b963a54 100644
--- a/third_party/WebKit/Source/platform/text/Hyphenation.cpp
+++ b/third_party/WebKit/Source/platform/text/Hyphenation.cpp
@@ -18,7 +18,7 @@ Vector<size_t, 8> Hyphenation::hyphenLocations(const StringView& text) const {
while ((hyphenLocation = lastHyphenLocation(text, hyphenLocation)) >=
minimumPrefixLength)
- hyphenLocations.append(hyphenLocation);
+ hyphenLocations.push_back(hyphenLocation);
return hyphenLocations;
}
« no previous file with comments | « third_party/WebKit/Source/platform/text/DateTimeFormatTest.cpp ('k') | third_party/WebKit/Source/platform/text/LocaleICU.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698