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