Index: Source/core/animation/CSSValueInterpolationType.cpp |
diff --git a/Source/core/animation/CSSValueInterpolationType.cpp b/Source/core/animation/CSSValueInterpolationType.cpp |
index 90e10b35c2f43752c1144a230460645c9ae2a0cc..6fab5926a6ebe0a97b49ea329de05548f77242bc 100644 |
--- a/Source/core/animation/CSSValueInterpolationType.cpp |
+++ b/Source/core/animation/CSSValueInterpolationType.cpp |
@@ -16,9 +16,8 @@ PassOwnPtrWillBeRawPtr<InterpolationValue> CSSValueInterpolationType::maybeConve |
void CSSValueInterpolationType::apply(const InterpolableValue&, const NonInterpolableValue* nonInterpolableValue, StyleResolverState& state) const |
{ |
- NullableCSSValue value = toDefaultNonInterpolableValue(nonInterpolableValue)->cssValue(); |
- if (value) |
- StyleBuilder::applyProperty(m_property, state, *value); |
+ const CSSValue& value = toDefaultNonInterpolableValue(nonInterpolableValue)->cssValue(); |
+ StyleBuilder::applyProperty(m_property, state, value); |
} |
DEFINE_NON_INTERPOLABLE_VALUE_TYPE(DefaultNonInterpolableValue); |