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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp

Issue 2617783002: Migrate WTF::Vector::append() to ::push_back() [part 12 of N] (Closed)
Patch Set: rebase 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/core/svg/SVGTextPathElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
index 12b7eaa018a6a1d4fbc1e52948c992485fdc1ba0..eae5a2b6c12119c0f9d3fd5fad191734bc9cc3ef 100644
--- a/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGTextPathElement.cpp
@@ -30,8 +30,8 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<SVGTextPathMethodType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(SVGTextPathMethodAlign, "align"));
- entries.append(std::make_pair(SVGTextPathMethodStretch, "stretch"));
+ entries.push_back(std::make_pair(SVGTextPathMethodAlign, "align"));
+ entries.push_back(std::make_pair(SVGTextPathMethodStretch, "stretch"));
}
return entries;
}
@@ -41,8 +41,8 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<SVGTextPathSpacingType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(SVGTextPathSpacingAuto, "auto"));
- entries.append(std::make_pair(SVGTextPathSpacingExact, "exact"));
+ entries.push_back(std::make_pair(SVGTextPathSpacingAuto, "auto"));
+ entries.push_back(std::make_pair(SVGTextPathSpacingExact, "exact"));
}
return entries;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTransformList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698