| Index: third_party/WebKit/Source/core/animation/ImageSliceStyleInterpolation.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/ImageSliceStyleInterpolation.cpp b/third_party/WebKit/Source/core/animation/ImageSliceStyleInterpolation.cpp
|
| index 29029d5d1e5d212d34bc628b62e91a36be8ff3b4..6ede4d1a6223af3ec5d19e9a39085093acca2809 100644
|
| --- a/third_party/WebKit/Source/core/animation/ImageSliceStyleInterpolation.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/ImageSliceStyleInterpolation.cpp
|
| @@ -54,14 +54,14 @@ private:
|
| }
|
| };
|
|
|
| -PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> compose(const InterpolableValue& value, const ImageSliceStyleInterpolation::Metadata& metadata)
|
| +RawPtr<CSSBorderImageSliceValue> compose(const InterpolableValue& value, const ImageSliceStyleInterpolation::Metadata& metadata)
|
| {
|
| const InterpolableList& interpolableList = toInterpolableList(value);
|
| CSSPrimitiveValue::UnitType type = metadata.isPercentage ? CSSPrimitiveValue::UnitType::Percentage : CSSPrimitiveValue::UnitType::Number;
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> top = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(0))->value(), 0), type);
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> right = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(1))->value(), 0), type);
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> bottom = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(2))->value(), 0), type);
|
| - RefPtrWillBeRawPtr<CSSPrimitiveValue> left = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(3))->value(), 0), type);
|
| + RawPtr<CSSPrimitiveValue> top = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(0))->value(), 0), type);
|
| + RawPtr<CSSPrimitiveValue> right = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(1))->value(), 0), type);
|
| + RawPtr<CSSPrimitiveValue> bottom = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(2))->value(), 0), type);
|
| + RawPtr<CSSPrimitiveValue> left = CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(3))->value(), 0), type);
|
| return CSSBorderImageSliceValue::create(CSSQuadValue::create(top.release(), right.release(), bottom.release(), left.release(), CSSQuadValue::SerializeAsQuad), metadata.fill);
|
| }
|
|
|
|
|