Index: Source/core/animation/ImageSliceStyleInterpolation.cpp |
diff --git a/Source/core/animation/ImageSliceStyleInterpolation.cpp b/Source/core/animation/ImageSliceStyleInterpolation.cpp |
index 827cce5287b1d741eb0adf4ba23905850b7626dc..6d45a6c058cc8a497713f2736f978c6e736cf196 100644 |
--- a/Source/core/animation/ImageSliceStyleInterpolation.cpp |
+++ b/Source/core/animation/ImageSliceStyleInterpolation.cpp |
@@ -55,11 +55,11 @@ private: |
} |
}; |
-PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> compose(const InterpolableValue& value, const ImageSliceStyleInterpolation::Metadata& metadata) |
+PassRefPtr<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<Quad> quad = Quad::create(); |
+ RefPtr<Quad> quad = Quad::create(); |
quad->setTop(CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(0))->value(), 0), type)); |
quad->setRight(CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(1))->value(), 0), type)); |
quad->setBottom(CSSPrimitiveValue::create(clampTo<double>(toInterpolableNumber(interpolableList.get(2))->value(), 0), type)); |