| Index: Source/core/animation/animatable/AnimatableLengthPoint.h
|
| diff --git a/Source/core/animation/animatable/AnimatableLengthPoint.h b/Source/core/animation/animatable/AnimatableLengthPoint.h
|
| index d4bb8526145afe789e25ac7a872bba0a7c42c99b..a3874613efe6a19be0966b02457aff64ca62dcb1 100644
|
| --- a/Source/core/animation/animatable/AnimatableLengthPoint.h
|
| +++ b/Source/core/animation/animatable/AnimatableLengthPoint.h
|
| @@ -38,9 +38,9 @@ namespace blink {
|
| class AnimatableLengthPoint final : public AnimatableValue {
|
| public:
|
| virtual ~AnimatableLengthPoint() { }
|
| - static PassRefPtrWillBeRawPtr<AnimatableLengthPoint> create(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
|
| + static AnimatableLengthPoint* create(AnimatableValue* x, AnimatableValue* y)
|
| {
|
| - return adoptRefWillBeNoop(new AnimatableLengthPoint(x, y));
|
| + return new AnimatableLengthPoint(x, y);
|
| }
|
| const AnimatableValue* x() const { return m_x.get(); }
|
| const AnimatableValue* y() const { return m_y.get(); }
|
| @@ -48,10 +48,10 @@ public:
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| - virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
|
| + virtual AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override;
|
|
|
| private:
|
| - AnimatableLengthPoint(PassRefPtrWillBeRawPtr<AnimatableValue> x, PassRefPtrWillBeRawPtr<AnimatableValue> y)
|
| + AnimatableLengthPoint(AnimatableValue* x, AnimatableValue* y)
|
| : m_x(x)
|
| , m_y(y)
|
| {
|
| @@ -59,8 +59,8 @@ private:
|
| virtual AnimatableType type() const override { return TypeLengthPoint; }
|
| virtual bool equalTo(const AnimatableValue*) const override;
|
|
|
| - RefPtrWillBeMember<AnimatableValue> m_x;
|
| - RefPtrWillBeMember<AnimatableValue> m_y;
|
| + Member<AnimatableValue> m_x;
|
| + Member<AnimatableValue> m_y;
|
| };
|
|
|
| DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthPoint, isLengthPoint());
|
|
|