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