| Index: third_party/WebKit/Source/core/animation/LengthStyleInterpolation.cpp
|
| diff --git a/third_party/WebKit/Source/core/animation/LengthStyleInterpolation.cpp b/third_party/WebKit/Source/core/animation/LengthStyleInterpolation.cpp
|
| index ccdcc8db23f9196706a1e5b78949be20f1338b84..6b1e9e57903eaf252c8bb8795b608c67f7b1c403 100644
|
| --- a/third_party/WebKit/Source/core/animation/LengthStyleInterpolation.cpp
|
| +++ b/third_party/WebKit/Source/core/animation/LengthStyleInterpolation.cpp
|
| @@ -72,17 +72,17 @@ static CSSPrimitiveValue::UnitType toUnitType(int lengthUnitType)
|
| return static_cast<CSSPrimitiveValue::UnitType>(CSSPrimitiveValue::lengthUnitTypeToUnitType(static_cast<CSSPrimitiveValue::LengthUnitType>(lengthUnitType)));
|
| }
|
|
|
| -static PassRefPtrWillBeRawPtr<CSSCalcExpressionNode> constructCalcExpression(const InterpolableList* list)
|
| +static RawPtr<CSSCalcExpressionNode> constructCalcExpression(const InterpolableList* list)
|
| {
|
| const InterpolableList* listOfValues = toInterpolableList(list->get(0));
|
| const InterpolableList* listOfTypes = toInterpolableList(list->get(1));
|
| - RefPtrWillBeRawPtr<CSSCalcExpressionNode> expression = nullptr;
|
| + RawPtr<CSSCalcExpressionNode> expression = nullptr;
|
| for (size_t position = 0; position < CSSPrimitiveValue::LengthUnitTypeCount; position++) {
|
| const InterpolableNumber *subValueType = toInterpolableNumber(listOfTypes->get(position));
|
| if (!subValueType->value())
|
| continue;
|
| double value = toInterpolableNumber(listOfValues->get(position))->value();
|
| - RefPtrWillBeRawPtr<CSSCalcExpressionNode> currentTerm = CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(value, toUnitType(position)));
|
| + RawPtr<CSSCalcExpressionNode> currentTerm = CSSCalcValue::createExpressionNode(CSSPrimitiveValue::create(value, toUnitType(position)));
|
| if (expression)
|
| expression = CSSCalcValue::createExpressionNode(expression.release(), currentTerm.release(), CalcAdd);
|
| else
|
| @@ -122,7 +122,7 @@ static Length lengthFromInterpolableValue(const InterpolableValue& value, Interp
|
|
|
| } // namespace
|
|
|
| -PassRefPtrWillBeRawPtr<CSSPrimitiveValue> LengthStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, InterpolationRange range)
|
| +RawPtr<CSSPrimitiveValue> LengthStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, InterpolationRange range)
|
| {
|
| const InterpolableList* listOfValuesAndTypes = toInterpolableList(&value);
|
| const InterpolableList* listOfValues = toInterpolableList(listOfValuesAndTypes->get(0));
|
|
|