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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFECompositeElement.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/SVGFECompositeElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp b/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
index 95ca05a5d91389090b1cb8abf2be8fcc70236ca1..619a7b58f7d53c6d6705945cd7aaf8aeef006b24 100644
--- a/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFECompositeElement.cpp
@@ -30,14 +30,14 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<CompositeOperationType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(FECOMPOSITE_OPERATOR_OVER, "over"));
- entries.append(std::make_pair(FECOMPOSITE_OPERATOR_IN, "in"));
- entries.append(std::make_pair(FECOMPOSITE_OPERATOR_OUT, "out"));
- entries.append(std::make_pair(FECOMPOSITE_OPERATOR_ATOP, "atop"));
- entries.append(std::make_pair(FECOMPOSITE_OPERATOR_XOR, "xor"));
- entries.append(
+ entries.push_back(std::make_pair(FECOMPOSITE_OPERATOR_OVER, "over"));
+ entries.push_back(std::make_pair(FECOMPOSITE_OPERATOR_IN, "in"));
+ entries.push_back(std::make_pair(FECOMPOSITE_OPERATOR_OUT, "out"));
+ entries.push_back(std::make_pair(FECOMPOSITE_OPERATOR_ATOP, "atop"));
+ entries.push_back(std::make_pair(FECOMPOSITE_OPERATOR_XOR, "xor"));
+ entries.push_back(
std::make_pair(FECOMPOSITE_OPERATOR_ARITHMETIC, "arithmetic"));
- entries.append(std::make_pair(FECOMPOSITE_OPERATOR_LIGHTER, "lighter"));
+ entries.push_back(std::make_pair(FECOMPOSITE_OPERATOR_LIGHTER, "lighter"));
}
return entries;
}
@@ -140,8 +140,8 @@ FilterEffect* SVGFECompositeElement::build(SVGFilterBuilder* filterBuilder,
m_k3->currentValue()->value(), m_k4->currentValue()->value());
FilterEffectVector& inputEffects = effect->inputEffects();
inputEffects.reserveCapacity(2);
- inputEffects.append(input1);
- inputEffects.append(input2);
+ inputEffects.push_back(input1);
+ inputEffects.push_back(input2);
return effect;
}

Powered by Google App Engine
This is Rietveld 408576698