| 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 1706ab955969f7cef7bb854f563d854da4d190d8..275bc83b21671673ea667b17403554ef9ee4a4d9 100644
|
| --- a/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/SVGLengthInterpolationType.cpp
|
| @@ -81,7 +81,7 @@ PassOwnPtr<InterpolableValue> SVGLengthInterpolationType::neutralInterpolableVal
|
| for (size_t i = 0; i < numLengthInterpolatedUnits; ++i)
|
| listOfValues->set(i, InterpolableNumber::create(0));
|
|
|
| - return listOfValues.release();
|
| + return std::move(listOfValues);
|
| }
|
|
|
| InterpolationValue SVGLengthInterpolationType::convertSVGLength(const SVGLength& length)
|
| @@ -96,7 +96,7 @@ InterpolationValue SVGLengthInterpolationType::convertSVGLength(const SVGLength&
|
| for (size_t i = 0; i < numLengthInterpolatedUnits; ++i)
|
| listOfValues->set(i, InterpolableNumber::create(values[i]));
|
|
|
| - return InterpolationValue(listOfValues.release());
|
| + return InterpolationValue(std::move(listOfValues));
|
| }
|
|
|
| SVGLength* SVGLengthInterpolationType::resolveInterpolableSVGLength(const InterpolableValue& interpolableValue, const SVGLengthContext& lengthContext, SVGLengthMode unitMode, bool negativeValuesForbidden)
|
|
|