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

Unified Diff: third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.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/SVGFEDisplacementMapElement.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp b/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
index 3b53d54dbae18a4754171a4c1bf8e7709d8c817a..adc96648229b96d1dfc265279379c1ead4fee211 100644
--- a/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGFEDisplacementMapElement.cpp
@@ -29,10 +29,10 @@ const SVGEnumerationStringEntries&
getStaticStringEntries<ChannelSelectorType>() {
DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
if (entries.isEmpty()) {
- entries.append(std::make_pair(CHANNEL_R, "R"));
- entries.append(std::make_pair(CHANNEL_G, "G"));
- entries.append(std::make_pair(CHANNEL_B, "B"));
- entries.append(std::make_pair(CHANNEL_A, "A"));
+ entries.push_back(std::make_pair(CHANNEL_R, "R"));
+ entries.push_back(std::make_pair(CHANNEL_G, "G"));
+ entries.push_back(std::make_pair(CHANNEL_B, "B"));
+ entries.push_back(std::make_pair(CHANNEL_A, "A"));
}
return entries;
}
@@ -123,8 +123,8 @@ FilterEffect* SVGFEDisplacementMapElement::build(
m_scale->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