Index: Source/core/animation/AngleSVGInterpolation.h |
diff --git a/Source/core/animation/AngleSVGInterpolation.h b/Source/core/animation/AngleSVGInterpolation.h |
index a4c8f8ca095d3b76e1bf5828913379b469bd9bc4..f55fd05fe5d55f06da7a722b72ad0b8fe8f9c49b 100644 |
--- a/Source/core/animation/AngleSVGInterpolation.h |
+++ b/Source/core/animation/AngleSVGInterpolation.h |
@@ -14,9 +14,9 @@ class SVGInteger; |
class AngleSVGInterpolation : public SVGInterpolation { |
public: |
- static PassRefPtrWillBeRawPtr<AngleSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
+ static PassRefPtr<AngleSVGInterpolation> create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
{ |
- return adoptRefWillBeNoop(new AngleSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute)); |
+ return adoptRef(new AngleSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute)); |
} |
static bool canCreateFrom(SVGPropertyBase* value) |
@@ -29,18 +29,13 @@ public: |
return fromInterpolableValue(m_cachedValue.get()); |
} |
- DEFINE_INLINE_VIRTUAL_TRACE() |
- { |
- SVGInterpolation::trace(visitor); |
- } |
- |
private: |
- AngleSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
+ AngleSVGInterpolation(PassOwnPtr<InterpolableValue> start, PassOwnPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute) |
: SVGInterpolation(start, end, attribute) |
{ |
} |
- static PassOwnPtrWillBeRawPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase* value) |
+ static PassOwnPtr<InterpolableValue> toInterpolableValue(SVGPropertyBase* value) |
{ |
return InterpolableNumber::create(toSVGAngle(value)->value()); |
} |