Index: third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.cpp |
index 2413ec3d72192f3022323b872e6c22be36a6b10c..b4fcff9172767b7b6218f2720a05de7b8866bb1b 100644 |
--- a/third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/SVGNumberOptionalNumberInterpolationType.cpp |
@@ -6,13 +6,12 @@ |
#include "core/animation/InterpolationEnvironment.h" |
#include "core/svg/SVGNumberOptionalNumber.h" |
-#include <memory> |
namespace blink { |
InterpolationValue SVGNumberOptionalNumberInterpolationType::maybeConvertNeutral(const InterpolationValue&, ConversionCheckers&) const |
{ |
- std::unique_ptr<InterpolableList> result = InterpolableList::create(2); |
+ OwnPtr<InterpolableList> result = InterpolableList::create(2); |
result->set(0, InterpolableNumber::create(0)); |
result->set(1, InterpolableNumber::create(0)); |
return InterpolationValue(std::move(result)); |
@@ -24,7 +23,7 @@ InterpolationValue SVGNumberOptionalNumberInterpolationType::maybeConvertSVGValu |
return nullptr; |
const SVGNumberOptionalNumber& numberOptionalNumber = toSVGNumberOptionalNumber(svgValue); |
- std::unique_ptr<InterpolableList> result = InterpolableList::create(2); |
+ OwnPtr<InterpolableList> result = InterpolableList::create(2); |
result->set(0, InterpolableNumber::create(numberOptionalNumber.firstNumber()->value())); |
result->set(1, InterpolableNumber::create(numberOptionalNumber.secondNumber()->value())); |
return InterpolationValue(std::move(result)); |