Index: third_party/WebKit/Source/core/animation/SVGIntegerOptionalIntegerInterpolationType.cpp |
diff --git a/third_party/WebKit/Source/core/animation/SVGIntegerOptionalIntegerInterpolationType.cpp b/third_party/WebKit/Source/core/animation/SVGIntegerOptionalIntegerInterpolationType.cpp |
index e67c712854a7ecec99e169d59eeebb0725ad14d7..f48cd4d5a333b49c9a0d0cb1346030bb7dc1e11b 100644 |
--- a/third_party/WebKit/Source/core/animation/SVGIntegerOptionalIntegerInterpolationType.cpp |
+++ b/third_party/WebKit/Source/core/animation/SVGIntegerOptionalIntegerInterpolationType.cpp |
@@ -6,12 +6,13 @@ |
#include "core/animation/InterpolationEnvironment.h" |
#include "core/svg/SVGIntegerOptionalInteger.h" |
+#include <memory> |
namespace blink { |
InterpolationValue SVGIntegerOptionalIntegerInterpolationType::maybeConvertNeutral(const InterpolationValue&, ConversionCheckers&) const |
{ |
- OwnPtr<InterpolableList> result = InterpolableList::create(2); |
+ std::unique_ptr<InterpolableList> result = InterpolableList::create(2); |
result->set(0, InterpolableNumber::create(0)); |
result->set(1, InterpolableNumber::create(0)); |
return InterpolationValue(std::move(result)); |
@@ -23,7 +24,7 @@ InterpolationValue SVGIntegerOptionalIntegerInterpolationType::maybeConvertSVGVa |
return nullptr; |
const SVGIntegerOptionalInteger& integerOptionalInteger = toSVGIntegerOptionalInteger(svgValue); |
- OwnPtr<InterpolableList> result = InterpolableList::create(2); |
+ std::unique_ptr<InterpolableList> result = InterpolableList::create(2); |
result->set(0, InterpolableNumber::create(integerOptionalInteger.firstInteger()->value())); |
result->set(1, InterpolableNumber::create(integerOptionalInteger.secondInteger()->value())); |
return InterpolationValue(std::move(result)); |