| Index: third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp
|
| index 13934d09003575290c394c37600fcbf90657fc13..534cd47a8a0a32feda95f6696f69311b1b1327b9 100644
|
| --- a/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/SVGPointListInterpolationType.cpp
|
| @@ -8,7 +8,6 @@
|
| #include "core/animation/StringKeyframe.h"
|
| #include "core/animation/UnderlyingLengthChecker.h"
|
| #include "core/svg/SVGPointList.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -20,7 +19,7 @@ InterpolationValue SVGPointListInterpolationType::maybeConvertNeutral(const Inte
|
| if (underlyingLength == 0)
|
| return nullptr;
|
|
|
| - std::unique_ptr<InterpolableList> result = InterpolableList::create(underlyingLength);
|
| + OwnPtr<InterpolableList> result = InterpolableList::create(underlyingLength);
|
| for (size_t i = 0; i < underlyingLength; i++)
|
| result->set(i, InterpolableNumber::create(0));
|
| return InterpolationValue(std::move(result));
|
| @@ -32,7 +31,7 @@ InterpolationValue SVGPointListInterpolationType::maybeConvertSVGValue(const SVG
|
| return nullptr;
|
|
|
| const SVGPointList& pointList = toSVGPointList(svgValue);
|
| - std::unique_ptr<InterpolableList> result = InterpolableList::create(pointList.length() * 2);
|
| + OwnPtr<InterpolableList> result = InterpolableList::create(pointList.length() * 2);
|
| for (size_t i = 0; i < pointList.length(); i++) {
|
| const SVGPoint& point = *pointList.at(i);
|
| result->set(2 * i, InterpolableNumber::create(point.x()));
|
|
|