| Index: Source/core/animation/NumberSVGInterpolation.h
|
| diff --git a/Source/core/animation/NumberSVGInterpolation.h b/Source/core/animation/NumberSVGInterpolation.h
|
| index 1cb970700ec5de40dceec956ed011b8b74f56c57..bce2f4668b66bcfc1caabe7c9c8ce90e75b4069b 100644
|
| --- a/Source/core/animation/NumberSVGInterpolation.h
|
| +++ b/Source/core/animation/NumberSVGInterpolation.h
|
| @@ -21,9 +21,9 @@ public:
|
| typedef SVGNumberList ListType;
|
| typedef void NonInterpolableType;
|
|
|
| - static PassRefPtrWillBeRawPtr<NumberSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, SVGNumberNegativeValuesMode negativeValuesMode)
|
| + static NumberSVGInterpolation* create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, SVGNumberNegativeValuesMode negativeValuesMode)
|
| {
|
| - return adoptRefWillBeNoop(new NumberSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute, negativeValuesMode));
|
| + return new NumberSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute, negativeValuesMode);
|
| }
|
|
|
| static bool canCreateFrom(SVGPropertyBase* value)
|
| @@ -41,7 +41,7 @@ public:
|
| SVGInterpolation::trace(visitor);
|
| }
|
|
|
| - static PassOwnPtrWillBeRawPtr<InterpolableNumber> toInterpolableValue(SVGPropertyBase* value)
|
| + static InterpolableNumber* toInterpolableValue(SVGPropertyBase* value)
|
| {
|
| return InterpolableNumber::create(toSVGNumber(value)->value());
|
| }
|
| @@ -49,7 +49,7 @@ public:
|
| static PassRefPtrWillBeRawPtr<SVGNumber> fromInterpolableValue(const InterpolableValue&, SVGNumberNegativeValuesMode = AllowNegativeNumbers);
|
|
|
| private:
|
| - NumberSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, SVGNumberNegativeValuesMode negativeValuesMode)
|
| + NumberSVGInterpolation(InterpolableValue* start, InterpolableValue* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, SVGNumberNegativeValuesMode negativeValuesMode)
|
| : SVGInterpolation(start, end, attribute)
|
| , m_negativeValuesMode(negativeValuesMode)
|
| {
|
|
|