| Index: third_party/WebKit/Source/core/animation/SVGRectInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/SVGRectInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGRectInterpolationType.cpp
|
| index 76ae4454f41b299a6e10eeb51d03b1fe011a502e..9eca8aeac343be69b5f83734223778f99dbf639a 100644
|
| --- a/third_party/WebKit/Source/core/animation/SVGRectInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/SVGRectInterpolationType.cpp
|
| @@ -7,6 +7,7 @@
|
| #include "core/animation/StringKeyframe.h"
|
| #include "core/svg/SVGRect.h"
|
| #include "wtf/StdLibExtras.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -20,7 +21,7 @@ enum RectComponentIndex {
|
|
|
| InterpolationValue SVGRectInterpolationType::maybeConvertNeutral(const InterpolationValue&, ConversionCheckers&) const
|
| {
|
| - OwnPtr<InterpolableList> result = InterpolableList::create(RectComponentIndexCount);
|
| + std::unique_ptr<InterpolableList> result = InterpolableList::create(RectComponentIndexCount);
|
| for (size_t i = 0; i < RectComponentIndexCount; i++)
|
| result->set(i, InterpolableNumber::create(0));
|
| return InterpolationValue(std::move(result));
|
| @@ -32,7 +33,7 @@ InterpolationValue SVGRectInterpolationType::maybeConvertSVGValue(const SVGPrope
|
| return nullptr;
|
|
|
| const SVGRect& rect = toSVGRect(svgValue);
|
| - OwnPtr<InterpolableList> result = InterpolableList::create(RectComponentIndexCount);
|
| + std::unique_ptr<InterpolableList> result = InterpolableList::create(RectComponentIndexCount);
|
| result->set(RectX, InterpolableNumber::create(rect.x()));
|
| result->set(RectY, InterpolableNumber::create(rect.y()));
|
| result->set(RectWidth, InterpolableNumber::create(rect.width()));
|
|
|