| 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;
|
| }
|
|
|
|
|