| Index: Source/core/animation/animatable/AnimatableLengthPoint.h
|
| diff --git a/Source/core/animation/animatable/AnimatableLengthPoint.h b/Source/core/animation/animatable/AnimatableLengthPoint.h
|
| index 8034de5abbbd8b6c25f60685c14719c6745b3d2e..d5837b57321d2c9c66607daeb84060e4f101d7f6 100644
|
| --- a/Source/core/animation/animatable/AnimatableLengthPoint.h
|
| +++ b/Source/core/animation/animatable/AnimatableLengthPoint.h
|
| @@ -38,20 +38,20 @@ namespace blink {
|
| class AnimatableLengthPoint final : public AnimatableValue {
|
| public:
|
| ~AnimatableLengthPoint() override { }
|
| - 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(); }
|
| + const AnimatableValue* x() const { return m_x; }
|
| + const AnimatableValue* y() const { return m_y; }
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| protected:
|
| - PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
|
| + 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:
|
| AnimatableType type() const override { return TypeLengthPoint; }
|
| 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());
|
|
|