Index: Source/core/animation/LengthBoxStyleInterpolation.cpp |
diff --git a/Source/core/animation/LengthBoxStyleInterpolation.cpp b/Source/core/animation/LengthBoxStyleInterpolation.cpp |
index d3f9724e1867193e91daf3828fa0f84a7360b693..72baa5bb31fc15b18dd71e6710af7f8bd7cd7eb5 100644 |
--- a/Source/core/animation/LengthBoxStyleInterpolation.cpp |
+++ b/Source/core/animation/LengthBoxStyleInterpolation.cpp |
@@ -56,8 +56,8 @@ bool LengthBoxStyleInterpolation::usesDefaultInterpolation(const CSSValue& start |
{ |
if (!start.isPrimitiveValue() || !end.isPrimitiveValue()) |
return false; |
- const CSSPrimitiveValue startValue = toCSSPrimitiveValue(start); |
- const CSSPrimitiveValue endValue = toCSSPrimitiveValue(end); |
+ const CSSPrimitiveValue& startValue = toCSSPrimitiveValue(start); |
+ const CSSPrimitiveValue& endValue = toCSSPrimitiveValue(end); |
if ((startValue.isValueID() && startValue.getValueID() == CSSValueAuto) |
|| (endValue.isValueID() && endValue.getValueID() == CSSValueAuto)) |
return true; |