| Index: Source/core/animation/LengthStyleInterpolation.cpp
|
| diff --git a/Source/core/animation/LengthStyleInterpolation.cpp b/Source/core/animation/LengthStyleInterpolation.cpp
|
| index bd52ac3755aa514408b1e2272ff98bdf15cc9c8a..bc973808d28a07be77bf0178592ba2783e16f889 100644
|
| --- a/Source/core/animation/LengthStyleInterpolation.cpp
|
| +++ b/Source/core/animation/LengthStyleInterpolation.cpp
|
| @@ -54,7 +54,7 @@ bool pixelsForKeyword(CSSPropertyID property, CSSValueID valueID, double& result
|
| bool LengthStyleInterpolation::canCreateFrom(const CSSValue value, CSSPropertyID property)
|
| {
|
| if (value.isPrimitiveValue()) {
|
| - const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(value);
|
| + const CSSPrimitiveValue primitiveValue = toCSSPrimitiveValue(value);
|
| if (primitiveValue.cssCalcValue())
|
| return true;
|
|
|
| @@ -78,7 +78,7 @@ PassOwnPtrWillBeRawPtr<InterpolableValue> LengthStyleInterpolation::toInterpolab
|
| OwnPtrWillBeRawPtr<InterpolableList> listOfValues = InterpolableList::create(CSSPrimitiveValue::LengthUnitTypeCount);
|
| OwnPtrWillBeRawPtr<InterpolableList> listOfTypes = InterpolableList::create(CSSPrimitiveValue::LengthUnitTypeCount);
|
|
|
| - const CSSPrimitiveValue& primitive = toCSSPrimitiveValue(value);
|
| + const CSSPrimitiveValue primitive = toCSSPrimitiveValue(value);
|
|
|
| CSSLengthArray arrayOfValues;
|
| CSSPrimitiveValue::CSSLengthTypeArray arrayOfTypes;
|
| @@ -278,7 +278,7 @@ static Length lengthFromInterpolableValue(const InterpolableValue& value, Interp
|
|
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<CSSPrimitiveValue> LengthStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, InterpolationRange range)
|
| +CSSPrimitiveValue LengthStyleInterpolation::fromInterpolableValue(const InterpolableValue& value, InterpolationRange range)
|
| {
|
| const InterpolableList* listOfValuesAndTypes = toInterpolableList(&value);
|
| const InterpolableList* listOfValues = toInterpolableList(listOfValuesAndTypes->get(0));
|
|
|