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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.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/SVGFEMorphologyElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp
index e2e8f84a7414557efc9aa99cf1b713bd215f602e..3d05d6e4c3b3037cb2aeb713358b4c4b0093dbd8 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEMorphologyElement.cpp
@@ -29,8 +29,8 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<MorphologyOperatorType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(FEMORPHOLOGY_OPERATOR_ERODE, "erode"));
- entries.append(std::make_pair(FEMORPHOLOGY_OPERATOR_DILATE, "dilate"));
+ entries.push_back(std::make_pair(FEMORPHOLOGY_OPERATOR_ERODE, "erode"));
+ entries.push_back(std::make_pair(FEMORPHOLOGY_OPERATOR_DILATE, "dilate"));
}
return entries;
}
@@ -111,7 +111,7 @@ FilterEffect* SVGFEMorphologyElement::build(SVGFilterBuilder* filterBuilder,
float yRadius = radiusY()->currentValue()->value();
FilterEffect* effect = FEMorphology::create(
filter, m_svgOperator->currentValue()->enumValue(), xRadius, yRadius);
- effect->inputEffects().append(input1);
+ effect->inputEffects().push_back(input1);
return effect;
}
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFEMergeElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGFEOffsetElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698