Index: Source/core/animation/animatable/AnimatableSVGPaint.cpp |
diff --git a/Source/core/animation/animatable/AnimatableSVGPaint.cpp b/Source/core/animation/animatable/AnimatableSVGPaint.cpp |
index ad9fe1411269fd2b431941a568fa10392eb5748c..0ca6f61fe05b53f798573281fc32d610ea207f0a 100644 |
--- a/Source/core/animation/animatable/AnimatableSVGPaint.cpp |
+++ b/Source/core/animation/animatable/AnimatableSVGPaint.cpp |
@@ -40,13 +40,13 @@ bool AnimatableSVGPaint::usesDefaultInterpolationWith(const AnimatableValue* val |
&& (visitedLinkPaintType() != SVG_PAINTTYPE_RGBCOLOR || svgPaint->visitedLinkPaintType() != SVG_PAINTTYPE_RGBCOLOR); |
} |
-PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const |
+AnimatableValue* AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const |
{ |
if (usesDefaultInterpolationWith(value)) |
return defaultInterpolateTo(this, value, fraction); |
const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value); |
- RefPtrWillBeRawPtr<AnimatableColor> color = toAnimatableColor(AnimatableValue::interpolate(m_color.get(), svgPaint->m_color.get(), fraction).get()); |
+ AnimatableColor* color = toAnimatableColor(AnimatableValue::interpolate(m_color.get(), svgPaint->m_color.get(), fraction)); |
if (fraction < 0.5) |
return create(paintType(), visitedLinkPaintType(), color, uri(), visitedLinkURI()); |
return create(svgPaint->paintType(), svgPaint->visitedLinkPaintType(), color, svgPaint->uri(), svgPaint->visitedLinkURI()); |