| Index: third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp b/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
|
| index a2954ad778eea2ebc41b11f91036ba7804f049c4..74edf376486425cb7fe6a240841fc0f06e34ab39 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGGradientElement.cpp
|
| @@ -35,9 +35,9 @@ const SVGEnumerationStringEntries&
|
| getStaticStringEntries<SVGSpreadMethodType>() {
|
| DEFINE_STATIC_LOCAL(SVGEnumerationStringEntries, entries, ());
|
| if (entries.isEmpty()) {
|
| - entries.append(std::make_pair(SVGSpreadMethodPad, "pad"));
|
| - entries.append(std::make_pair(SVGSpreadMethodReflect, "reflect"));
|
| - entries.append(std::make_pair(SVGSpreadMethodRepeat, "repeat"));
|
| + entries.push_back(std::make_pair(SVGSpreadMethodPad, "pad"));
|
| + entries.push_back(std::make_pair(SVGSpreadMethodReflect, "reflect"));
|
| + entries.push_back(std::make_pair(SVGSpreadMethodRepeat, "repeat"));
|
| }
|
| return entries;
|
| }
|
| @@ -130,7 +130,8 @@ Vector<Gradient::ColorStop> SVGGradientElement::buildStops() {
|
| offset = std::min(std::max(previousOffset, offset), 1.0f);
|
| previousOffset = offset;
|
|
|
| - stops.append(Gradient::ColorStop(offset, stop.stopColorIncludingOpacity()));
|
| + stops.push_back(
|
| + Gradient::ColorStop(offset, stop.stopColorIncludingOpacity()));
|
| }
|
| return stops;
|
| }
|
|
|