Index: Source/core/animation/LengthPairStyleInterpolation.cpp |
diff --git a/Source/core/animation/LengthPairStyleInterpolation.cpp b/Source/core/animation/LengthPairStyleInterpolation.cpp |
index 2a93d97fcaca205dd42e5625dd802dc21a12a855..ac5c609e7f3512f2dd3785cfedc6cd66d7ad9226 100644 |
--- a/Source/core/animation/LengthPairStyleInterpolation.cpp |
+++ b/Source/core/animation/LengthPairStyleInterpolation.cpp |
@@ -22,16 +22,16 @@ PassOwnPtrWillBeRawPtr<InterpolableValue> LengthPairStyleInterpolation::lengthPa |
Pair* pair = toCSSPrimitiveValue(value).getPairValue(); |
ASSERT(pair); |
- result->set(0, LengthStyleInterpolation::toInterpolableValue(CSSValue(*pair->first()))); |
- result->set(1, LengthStyleInterpolation::toInterpolableValue(CSSValue(*pair->second()))); |
+ result->set(0, LengthStyleInterpolation::toInterpolableValue(pair->first())); |
+ result->set(1, LengthStyleInterpolation::toInterpolableValue(pair->second())); |
return result.release(); |
} |
CSSValue LengthPairStyleInterpolation::interpolableValueToLengthPair(InterpolableValue* value, InterpolationRange range) |
{ |
InterpolableList* lengthPair = toInterpolableList(value); |
- RefPtrWillBeRawPtr<CSSPrimitiveValue> first = LengthStyleInterpolation::fromInterpolableValue(*lengthPair->get(0), range); |
- RefPtrWillBeRawPtr<CSSPrimitiveValue> second = LengthStyleInterpolation::fromInterpolableValue(*lengthPair->get(1), range); |
+ CSSPrimitiveValue first = LengthStyleInterpolation::fromInterpolableValue(*lengthPair->get(0), range); |
+ CSSPrimitiveValue second = LengthStyleInterpolation::fromInterpolableValue(*lengthPair->get(1), range); |
RefPtrWillBeRawPtr<Pair> result = Pair::create(first, second, Pair::KeepIdenticalValues); |
return CSSPrimitiveValue::create(result.release()); |