Index: Source/core/animation/ImageStyleInterpolation.cpp |
diff --git a/Source/core/animation/ImageStyleInterpolation.cpp b/Source/core/animation/ImageStyleInterpolation.cpp |
index fd0306b185fd403dc93e6a0dbd3eb875c74db4b4..c3e6f995438c1f1bfd98049abf4cf2c6d49ec3d1 100644 |
--- a/Source/core/animation/ImageStyleInterpolation.cpp |
+++ b/Source/core/animation/ImageStyleInterpolation.cpp |
@@ -19,17 +19,17 @@ void ImageStyleInterpolation::apply(StyleResolverState& state) const |
{ |
double cachedValue = toInterpolableNumber(m_cachedValue.get())->value(); |
if (cachedValue <= 0.0) { |
- StyleBuilder::applyProperty(m_id, state, m_initialImage.get()); |
+ StyleBuilder::applyProperty(m_id, state, m_initialImage); |
return; |
} |
if (cachedValue >= 1.0) { |
- StyleBuilder::applyProperty(m_id, state, m_finalImage.get()); |
+ StyleBuilder::applyProperty(m_id, state, m_finalImage); |
return; |
} |
RefPtrWillBeRawPtr<CSSCrossfadeValue> crossfadeValue = CSSCrossfadeValue::create(m_initialImage, m_finalImage); |
crossfadeValue->setPercentage(CSSPrimitiveValue::create(cachedValue, CSSPrimitiveValue::CSS_NUMBER)); |
- StyleBuilder::applyProperty(m_id, state, crossfadeValue.get()); |
+ StyleBuilder::applyProperty(m_id, state, *crossfadeValue); |
} |
DEFINE_TRACE(ImageStyleInterpolation) |