Index: Source/core/animation/RectSVGInterpolation.h |
diff --git a/Source/core/animation/RectSVGInterpolation.h b/Source/core/animation/RectSVGInterpolation.h |
index 3f0ef193891366c61831dd712e9d4f9a8366f49e..b9b9048c5f1d341a10fdf0f630e0b090ff68f936 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 PassRefPtr<RectSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
{ |
- return adoptRefWillBeNoop(new RectSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute)); |
+ return adoptRef(new RectSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute)); |
} |
PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const final |
@@ -24,18 +24,13 @@ public: |
return fromInterpolableValue(*m_cachedValue); |
} |
- DEFINE_INLINE_VIRTUAL_TRACE() |
- { |
- SVGInterpolation::trace(visitor); |
- } |
- |
private: |
- RectSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
+ RectSVGInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
: SVGInterpolation(start, end, attribute) |
{ |
} |
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase*); |
+ static PassOwnPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase*); |
static PassRefPtrWillBeRawPtr<SVGRect> fromInterpolableValue(const InterpolableValue&); |
}; |