| Index: third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| index b1c8a7727bd947da03d1731adf01bf5952554d38..28e27340cc90f9a6d4c4c646dd0279274ddfdf19 100644
|
| --- a/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/CSSImageSliceInterpolationType.cpp
|
| @@ -141,7 +141,7 @@ InterpolationValue convertImageSlice(const ImageSlice& slice, double zoom)
|
| list->set(i, InterpolableNumber::create(side.isFixed() ? side.pixels() / zoom : side.percent()));
|
| }
|
|
|
| - return InterpolationValue(list.release(), CSSImageSliceNonInterpolableValue::create(SliceTypes(slice)));
|
| + return InterpolationValue(std::move(list), CSSImageSliceNonInterpolableValue::create(SliceTypes(slice)));
|
| }
|
|
|
| } // namespace
|
| @@ -189,7 +189,7 @@ InterpolationValue CSSImageSliceInterpolationType::maybeConvertValue(const CSSVa
|
| list->set(i, InterpolableNumber::create(sides[i]->getDoubleValue()));
|
| }
|
|
|
| - return InterpolationValue(list.release(), CSSImageSliceNonInterpolableValue::create(SliceTypes(slice)));
|
| + return InterpolationValue(std::move(list), CSSImageSliceNonInterpolableValue::create(SliceTypes(slice)));
|
| }
|
|
|
| InterpolationValue CSSImageSliceInterpolationType::maybeConvertUnderlyingValue(const InterpolationEnvironment& environment) const
|
| @@ -206,7 +206,7 @@ PairwiseInterpolationValue CSSImageSliceInterpolationType::maybeMergeSingles(Int
|
| if (startSliceTypes != endSliceTypes)
|
| return nullptr;
|
|
|
| - return PairwiseInterpolationValue(start.interpolableValue.release(), end.interpolableValue.release(), start.nonInterpolableValue.release());
|
| + return PairwiseInterpolationValue(std::move(start.interpolableValue), std::move(end.interpolableValue), start.nonInterpolableValue.release());
|
| }
|
|
|
| void CSSImageSliceInterpolationType::composite(UnderlyingValueOwner& underlyingValueOwner, double underlyingFraction, const InterpolationValue& value, double interpolationFraction) const
|
|
|