| Index: Source/core/animation/AngleSVGInterpolation.h
|
| diff --git a/Source/core/animation/AngleSVGInterpolation.h b/Source/core/animation/AngleSVGInterpolation.h
|
| index dff98327546b74d53909cd619afebc68d2485480..5d8bcbc0ad162dbe27ef16b1f596d508d0637e06 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 AngleSVGInterpolation* create(SVGPropertyBase* start, SVGPropertyBase* end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
|
| {
|
| - return adoptRefWillBeNoop(new AngleSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute));
|
| + return new AngleSVGInterpolation(toInterpolableValue(start), toInterpolableValue(end), attribute);
|
| }
|
|
|
| static bool canCreateFrom(SVGPropertyBase* value)
|
| @@ -26,7 +26,7 @@ public:
|
|
|
| virtual PassRefPtrWillBeRawPtr<SVGPropertyBase> interpolatedValue(SVGElement&) const override final
|
| {
|
| - return fromInterpolableValue(m_cachedValue.get());
|
| + return fromInterpolableValue(m_cachedValue);
|
| }
|
|
|
| DEFINE_INLINE_VIRTUAL_TRACE()
|
| @@ -35,12 +35,12 @@ public:
|
| }
|
|
|
| private:
|
| - AngleSVGInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase> attribute)
|
| + AngleSVGInterpolation(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(toSVGAngle(value)->value());
|
| }
|
|
|