| Index: Source/core/animation/IntegerOptionalIntegerSVGInterpolation.h
|
| diff --git a/Source/core/animation/IntegerOptionalIntegerSVGInterpolation.h b/Source/core/animation/IntegerOptionalIntegerSVGInterpolation.h
|
| index de335af14e84d41f74c8d154697ebf95ba099904..a011a5dd4f19546d48c24cc69fe75f0fca3b59ac 100644
|
| --- a/Source/core/animation/IntegerOptionalIntegerSVGInterpolation.h
|
| +++ b/Source/core/animation/IntegerOptionalIntegerSVGInterpolation.h
|
| @@ -15,9 +15,9 @@ class SVGIntegerOptionalInteger;
|
|
|
| class IntegerOptionalIntegerSVGInterpolation : public SVGInterpolation {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<IntegerOptionalIntegerSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, int min)
|
| + static IntegerOptionalIntegerSVGInterpolation* create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, int min)
|
| {
|
| - return adoptRefWillBeNoop(new IntegerOptionalIntegerSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute, min));
|
| + return new IntegerOptionalIntegerSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute, min);
|
| }
|
|
|
| virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const override final
|
| @@ -31,13 +31,13 @@ public:
|
| }
|
|
|
| private:
|
| - IntegerOptionalIntegerSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, int min)
|
| + IntegerOptionalIntegerSVGInterpolation(InterpolableValue* start, InterpolableValue* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute, int min)
|
| : SVGInterpolation(start, end, attribute)
|
| , m_min(min)
|
| {
|
| }
|
|
|
| - static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase*);
|
| + static InterpolableValue* toInterpolableValue(SVGPropertyBase*);
|
|
|
| static PassRefPtrWillBeRawPtr<SVGIntegerOptionalInteger> fromInterpolableValue(const InterpolableValue&, int);
|
|
|
|
|