| Index: third_party/WebKit/Source/core/animation/SVGLengthListInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/SVGLengthListInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGLengthListInterpolationType.cpp
|
| index 8685a8d9aef70f852faed223fb13b84ab091d650..e70381b628ca4af6e1f556a481295996b2cddb26 100644
|
| --- a/third_party/WebKit/Source/core/animation/SVGLengthListInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/SVGLengthListInterpolationType.cpp
|
| @@ -8,7 +8,6 @@
|
| #include "core/animation/SVGLengthInterpolationType.h"
|
| #include "core/animation/UnderlyingLengthChecker.h"
|
| #include "core/svg/SVGLengthList.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -20,7 +19,7 @@ InterpolationValue SVGLengthListInterpolationType::maybeConvertNeutral(const Int
|
| 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, SVGLengthInterpolationType::neutralInterpolableValue());
|
| return InterpolationValue(std::move(result));
|
| @@ -32,7 +31,7 @@ InterpolationValue SVGLengthListInterpolationType::maybeConvertSVGValue(const SV
|
| return nullptr;
|
|
|
| const SVGLengthList& lengthList = toSVGLengthList(svgValue);
|
| - std::unique_ptr<InterpolableList> result = InterpolableList::create(lengthList.length());
|
| + OwnPtr<InterpolableList> result = InterpolableList::create(lengthList.length());
|
| for (size_t i = 0; i < lengthList.length(); i++) {
|
| InterpolationValue component = SVGLengthInterpolationType::convertSVGLength(*lengthList.at(i));
|
| result->set(i, std::move(component.interpolableValue));
|
|
|