Index: Source/core/svg/SVGAnimatedColor.cpp |
diff --git a/Source/core/svg/SVGAnimatedColor.cpp b/Source/core/svg/SVGAnimatedColor.cpp |
index 6ea6b98ee43850c784264115b971b09097ce64a2..d765ff8a1cdad31da1baa467d790c3e74cf087ce 100644 |
--- a/Source/core/svg/SVGAnimatedColor.cpp |
+++ b/Source/core/svg/SVGAnimatedColor.cpp |
@@ -32,7 +32,7 @@ String SVGColorProperty::valueAsString() const |
return m_styleColor.isCurrentColor() ? "currentColor" : m_styleColor.color().serializedAsCSSComponentValue(); |
} |
-PassRefPtr<SVGPropertyBase> SVGColorProperty::cloneForAnimation(const String&) const |
+PassRefPtrWillBeRawPtr<SVGPropertyBase> SVGColorProperty::cloneForAnimation(const String&) const |
{ |
// SVGAnimatedColor is deprecated. So No SVG DOM animation. |
ASSERT_NOT_REACHED(); |
@@ -58,7 +58,7 @@ void SVGColorProperty::add(PassRefPtrWillBeRawPtr<SVGPropertyBase> other, SVGEle |
m_styleColor = StyleColor(ColorDistance::addColors(fromColor, toColor)); |
} |
-void SVGColorProperty::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> fromValue, PassRefPtr<SVGPropertyBase> toValue, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) |
+void SVGColorProperty::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtrWillBeRawPtr<SVGPropertyBase> fromValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, PassRefPtrWillBeRawPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) |
{ |
StyleColor fromStyleColor = toSVGColorProperty(fromValue)->m_styleColor; |
StyleColor toStyleColor = toSVGColorProperty(toValue)->m_styleColor; |
@@ -88,7 +88,7 @@ void SVGColorProperty::calculateAnimatedValue(SVGAnimationElement* animationElem |
m_styleColor = StyleColor(makeRGBA(roundf(animatedRed), roundf(animatedGreen), roundf(animatedBlue), roundf(animatedAlpha))); |
} |
-float SVGColorProperty::calculateDistance(PassRefPtr<SVGPropertyBase> toValue, SVGElement* contextElement) |
+float SVGColorProperty::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase> toValue, SVGElement* contextElement) |
{ |
ASSERT(contextElement); |
Color fallbackColor = fallbackColorForCurrentColor(contextElement); |