Index: Source/core/animation/LengthStyleInterpolation.cpp |
diff --git a/Source/core/animation/LengthStyleInterpolation.cpp b/Source/core/animation/LengthStyleInterpolation.cpp |
index 643581c3f97c149af72cefc85a9c71d3565e5e3b..bd52ac3755aa514408b1e2272ff98bdf15cc9c8a 100644 |
--- a/Source/core/animation/LengthStyleInterpolation.cpp |
+++ b/Source/core/animation/LengthStyleInterpolation.cpp |
@@ -51,7 +51,7 @@ bool pixelsForKeyword(CSSPropertyID property, CSSValueID valueID, double& result |
} // namespace |
-bool LengthStyleInterpolation::canCreateFrom(const CSSValue& value, CSSPropertyID property) |
+bool LengthStyleInterpolation::canCreateFrom(const CSSValue value, CSSPropertyID property) |
{ |
if (value.isPrimitiveValue()) { |
const CSSPrimitiveValue& primitiveValue = toCSSPrimitiveValue(value); |
@@ -71,7 +71,7 @@ bool LengthStyleInterpolation::canCreateFrom(const CSSValue& value, CSSPropertyI |
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); |
@@ -318,12 +318,12 @@ void LengthStyleInterpolation::apply(StyleResolverState& state) const |
(state.style()->*m_lengthSetter)(lengthFromInterpolableValue(*m_cachedValue, m_range, state.style()->effectiveZoom())); |
#if ENABLE(ASSERT) |
RefPtrWillBeRawPtr<AnimatableValue> before = CSSAnimatableValueFactory::create(m_id, *state.style()); |
- StyleBuilder::applyProperty(m_id, state, fromInterpolableValue(*m_cachedValue, m_range).get()); |
+ StyleBuilder::applyProperty(m_id, state, fromInterpolableValue(*m_cachedValue, m_range)); |
RefPtrWillBeRawPtr<AnimatableValue> after = CSSAnimatableValueFactory::create(m_id, *state.style()); |
ASSERT(before->equals(*after)); |
#endif |
} else { |
- StyleBuilder::applyProperty(m_id, state, fromInterpolableValue(*m_cachedValue, m_range).get()); |
+ StyleBuilder::applyProperty(m_id, state, fromInterpolableValue(*m_cachedValue, m_range)); |
} |
} |