| Index: third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
|
| index 275bc83b21671673ea667b17403554ef9ee4a4d9..74131a557b754448210754e0e2edf49c650ec547 100644
|
| --- a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "core/svg/SVGElement.h"
|
| #include "core/svg/SVGLength.h"
|
| #include "core/svg/SVGLengthContext.h"
|
| +#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -75,9 +76,9 @@ LengthInterpolatedUnit convertToInterpolatedUnit(CSSPrimitiveValue::UnitType uni
|
|
|
| } // namespace
|
|
|
| -PassOwnPtr<InterpolableValue> SVGLengthInterpolationType::neutralInterpolableValue()
|
| +std::unique_ptr<InterpolableValue> SVGLengthInterpolationType::neutralInterpolableValue()
|
| {
|
| - OwnPtr<InterpolableList> listOfValues = InterpolableList::create(numLengthInterpolatedUnits);
|
| + std::unique_ptr<InterpolableList> listOfValues = InterpolableList::create(numLengthInterpolatedUnits);
|
| for (size_t i = 0; i < numLengthInterpolatedUnits; ++i)
|
| listOfValues->set(i, InterpolableNumber::create(0));
|
|
|
| @@ -92,7 +93,7 @@ InterpolationValue SVGLengthInterpolationType::convertSVGLength(const SVGLength&
|
| double values[numLengthInterpolatedUnits] = { };
|
| values[unitType] = value;
|
|
|
| - OwnPtr<InterpolableList> listOfValues = InterpolableList::create(numLengthInterpolatedUnits);
|
| + std::unique_ptr<InterpolableList> listOfValues = InterpolableList::create(numLengthInterpolatedUnits);
|
| for (size_t i = 0; i < numLengthInterpolatedUnits; ++i)
|
| listOfValues->set(i, InterpolableNumber::create(values[i]));
|
|
|
|
|