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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.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/SVGFEConvolveMatrixElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
index e7acb7e535e6aeb40fb8a40b9633a2d08914ebd4..276a47afd53dd62b9899239ac703430345fda05a 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEConvolveMatrixElement.cpp
@@ -31,9 +31,9 @@ template <>
const SVGEnumerationStringEntries& getStaticStringEntries<EdgeModeType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(EDGEMODE_DUPLICATE, "duplicate"));
- entries.append(std::make_pair(EDGEMODE_WRAP, "wrap"));
- entries.append(std::make_pair(EDGEMODE_NONE, "none"));
+ entries.push_back(std::make_pair(EDGEMODE_DUPLICATE, "duplicate"));
+ entries.push_back(std::make_pair(EDGEMODE_WRAP, "wrap"));
+ entries.push_back(std::make_pair(EDGEMODE_NONE, "none"));
}
return entries;
}
@@ -211,7 +211,7 @@ FilterEffect* SVGFEConvolveMatrixElement::build(SVGFilterBuilder* filterBuilder,
targetPoint(), m_edgeMode->currentValue()->enumValue(),
m_preserveAlpha->currentValue()->value(),
m_kernelMatrix->currentValue()->toFloatVector());
- effect->inputEffects().append(input1);
+ effect->inputEffects().push_back(input1);
return effect;
}

Powered by Google App Engine
This is Rietveld 408576698