Index: Source/core/animation/RectSVGInterpolation.h |
diff --git a/Source/core/animation/RectSVGInterpolation.h b/Source/core/animation/RectSVGInterpolation.h |
index 5c07ff0e4cfc8b5887a54e092bfca317c33796cf..f15be2b0f1847f2a2b80bd3a6c530c0f7e5f7cb9 100644 |
--- a/Source/core/animation/RectSVGInterpolation.h |
+++ b/Source/core/animation/RectSVGInterpolation.h |
@@ -14,9 +14,9 @@ class SVGRect; |
class RectSVGInterpolation : public SVGInterpolation { |
public: |
- static PassRefPtrWillBeRawPtr<RectSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
+ static RectSVGInterpolation* create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
{ |
- return adoptRefWillBeNoop(new RectSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute)); |
+ return new RectSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute); |
} |
virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const override final |
@@ -30,12 +30,12 @@ public: |
} |
private: |
- RectSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
+ RectSVGInterpolation(InterpolableValue* start, InterpolableValue* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
: SVGInterpolation(start, end, attribute) |
{ |
} |
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase*); |
+ static InterpolableValue* toInterpolableValue(SVGPropertyBase*); |
static PassRefPtrWillBeRawPtr<SVGRect> fromInterpolableValue(const InterpolableValue&); |
}; |