Index: Source/core/animation/CSSValueInterpolationType.cpp |
diff --git a/Source/core/animation/CSSValueInterpolationType.cpp b/Source/core/animation/CSSValueInterpolationType.cpp |
index bf765d5cb710155cf456f7e6992b24d513c41ce4..90e10b35c2f43752c1144a230460645c9ae2a0cc 100644 |
--- a/Source/core/animation/CSSValueInterpolationType.cpp |
+++ b/Source/core/animation/CSSValueInterpolationType.cpp |
@@ -11,14 +11,14 @@ namespace blink { |
PassOwnPtrWillBeRawPtr<InterpolationValue> CSSValueInterpolationType::maybeConvertSingle(const CSSPropertySpecificKeyframe& keyframe, const StyleResolverState*, ConversionCheckers&) const |
{ |
- return InterpolationValue::create(*this, InterpolableList::create(0), DefaultNonInterpolableValue::create(keyframe.value())); |
+ return InterpolationValue::create(*this, InterpolableList::create(0), DefaultNonInterpolableValue::create(*keyframe.value())); |
} |
void CSSValueInterpolationType::apply(const InterpolableValue&, const NonInterpolableValue* nonInterpolableValue, StyleResolverState& state) const |
{ |
- CSSValue* value = toDefaultNonInterpolableValue(nonInterpolableValue)->cssValue(); |
+ NullableCSSValue value = toDefaultNonInterpolableValue(nonInterpolableValue)->cssValue(); |
if (value) |
- StyleBuilder::applyProperty(m_property, state, value); |
+ StyleBuilder::applyProperty(m_property, state, *value); |
} |
DEFINE_NON_INTERPOLABLE_VALUE_TYPE(DefaultNonInterpolableValue); |