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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.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/SVGFETurbulenceElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp b/third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp
index 48a82b0a15f056073e82dab52306389d2354804a..bf2c5f9146ac0566c376cd8948c45ff3ef201f07 100644
--- a/third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFETurbulenceElement.cpp
@@ -28,8 +28,8 @@ template <>
const SVGEnumerationStringEntries& getStaticStringEntries<SVGStitchOptions>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(kSvgStitchtypeStitch, "stitch"));
- entries.append(std::make_pair(kSvgStitchtypeNostitch, "noStitch"));
+ entries.push_back(std::make_pair(kSvgStitchtypeStitch, "stitch"));
+ entries.push_back(std::make_pair(kSvgStitchtypeNostitch, "noStitch"));
}
return entries;
}
@@ -38,9 +38,10 @@ template <>
const SVGEnumerationStringEntries& getStaticStringEntries<TurbulenceType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(
+ entries.push_back(
std::make_pair(FETURBULENCE_TYPE_FRACTALNOISE, "fractalNoise"));
- entries.append(std::make_pair(FETURBULENCE_TYPE_TURBULENCE, "turbulence"));
+ entries.push_back(
+ std::make_pair(FETURBULENCE_TYPE_TURBULENCE, "turbulence"));
}
return entries;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFETileElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698