Index: Source/core/animation/LengthStyleInterpolation.cpp |
diff --git a/Source/core/animation/LengthStyleInterpolation.cpp b/Source/core/animation/LengthStyleInterpolation.cpp |
index bd52ac3755aa514408b1e2272ff98bdf15cc9c8a..7ca8aa412904f545b38ac9561982d4339b4f69ec 100644 |
--- a/Source/core/animation/LengthStyleInterpolation.cpp |
+++ b/Source/core/animation/LengthStyleInterpolation.cpp |
@@ -71,7 +71,7 @@ bool LengthStyleInterpolation::canCreateFrom(const CSSValue value, CSSPropertyID |
return value.isCalcValue(); |
} |
-PassOwnPtrWillBeRawPtr<InterpolableValue> LengthStyleInterpolation::toInterpolableValue(const CSSValue value, CSSPropertyID id) |
+PassOwnPtrWillBeRawPtr<InterpolableValue> LengthStyleInterpolation::toInterpolableValue(const CSSValue& value, CSSPropertyID id) |
{ |
ASSERT(canCreateFrom(value, id)); |
OwnPtrWillBeRawPtr<InterpolableList> listOfValuesAndTypes = InterpolableList::create(2); |
@@ -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)); |