| Index: Source/core/animation/IntegerSVGInterpolation.h
|
| diff --git a/Source/core/animation/IntegerSVGInterpolation.h b/Source/core/animation/IntegerSVGInterpolation.h
|
| index c74b0ae026721b2d9a078d31203e69e45067bb8a..6791b0d816df69743250ca3eafe93eed5cebc054 100644
|
| --- a/Source/core/animation/IntegerSVGInterpolation.h
|
| +++ b/Source/core/animation/IntegerSVGInterpolation.h
|
| @@ -12,9 +12,9 @@ namespace blink {
|
|
|
| class IntegerSVGInterpolation : public SVGInterpolation {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<IntegerSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
|
| + static IntegerSVGInterpolation* create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
|
| {
|
| - return adoptRefWillBeNoop(new IntegerSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute));
|
| + return new IntegerSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute);
|
| }
|
|
|
| virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const override final
|
| @@ -28,12 +28,12 @@ public:
|
| }
|
|
|
| private:
|
| - IntegerSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
|
| + IntegerSVGInterpolation(InterpolableValue* start, InterpolableValue* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
|
| : SVGInterpolation(start, end, attribute)
|
| {
|
| }
|
|
|
| - static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase* value)
|
| + static InterpolableValue* toInterpolableValue(SVGPropertyBase* value)
|
| {
|
| return InterpolableNumber::create(toSVGInteger(value)->value());
|
| }
|
|
|