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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEBlendElement.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/SVGFEBlendElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp
index ab6ece9410376204bdb720bd74e6d3c7037cfc60..4c4f23cccae0412c6412a12191cb1fb4d95ebbeb 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEBlendElement.cpp
@@ -60,29 +60,32 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<SVGFEBlendElement::Mode>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(SVGFEBlendElement::ModeNormal, "normal"));
- entries.append(std::make_pair(SVGFEBlendElement::ModeMultiply, "multiply"));
- entries.append(std::make_pair(SVGFEBlendElement::ModeScreen, "screen"));
- entries.append(std::make_pair(SVGFEBlendElement::ModeDarken, "darken"));
- entries.append(std::make_pair(SVGFEBlendElement::ModeLighten, "lighten"));
- entries.append(std::make_pair(SVGFEBlendElement::ModeOverlay, "overlay"));
- entries.append(
+ entries.push_back(std::make_pair(SVGFEBlendElement::ModeNormal, "normal"));
+ entries.push_back(
+ std::make_pair(SVGFEBlendElement::ModeMultiply, "multiply"));
+ entries.push_back(std::make_pair(SVGFEBlendElement::ModeScreen, "screen"));
+ entries.push_back(std::make_pair(SVGFEBlendElement::ModeDarken, "darken"));
+ entries.push_back(
+ std::make_pair(SVGFEBlendElement::ModeLighten, "lighten"));
+ entries.push_back(
+ std::make_pair(SVGFEBlendElement::ModeOverlay, "overlay"));
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeColorDodge, "color-dodge"));
- entries.append(
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeColorBurn, "color-burn"));
- entries.append(
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeHardLight, "hard-light"));
- entries.append(
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeSoftLight, "soft-light"));
- entries.append(
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeDifference, "difference"));
- entries.append(
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeExclusion, "exclusion"));
- entries.append(std::make_pair(SVGFEBlendElement::ModeHue, "hue"));
- entries.append(
+ entries.push_back(std::make_pair(SVGFEBlendElement::ModeHue, "hue"));
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeSaturation, "saturation"));
- entries.append(std::make_pair(SVGFEBlendElement::ModeColor, "color"));
- entries.append(
+ entries.push_back(std::make_pair(SVGFEBlendElement::ModeColor, "color"));
+ entries.push_back(
std::make_pair(SVGFEBlendElement::ModeLuminosity, "luminosity"));
}
return entries;
@@ -155,8 +158,8 @@ FilterEffect* SVGFEBlendElement::build(SVGFilterBuilder* filterBuilder,
filter, toWebBlendMode(m_mode->currentValue()->enumValue()));
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