| Index: Source/core/animation/animatable/AnimatableLengthSize.h
|
| diff --git a/Source/core/animation/animatable/AnimatableLengthSize.h b/Source/core/animation/animatable/AnimatableLengthSize.h
|
| index 64aa8f71422afe8465d3786971b3d5c7e02d6112..ba5810e4bba148b845b151cf1573b1394ae0c1ff 100644
|
| --- a/Source/core/animation/animatable/AnimatableLengthSize.h
|
| +++ b/Source/core/animation/animatable/AnimatableLengthSize.h
|
| @@ -38,20 +38,18 @@ namespace blink {
|
| class AnimatableLengthSize final : public AnimatableValue {
|
| public:
|
| ~AnimatableLengthSize() override { }
|
| - static PassRefPtrWillBeRawPtr<AnimatableLengthSize> create(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
|
| + static PassRefPtr<AnimatableLengthSize> create(PassRefPtr<AnimatableValue> width, PassRefPtr<AnimatableValue> height)
|
| {
|
| - return adoptRefWillBeNoop(new AnimatableLengthSize(width, height));
|
| + return adoptRef(new AnimatableLengthSize(width, height));
|
| }
|
| const AnimatableValue* width() const { return m_width.get(); }
|
| const AnimatableValue* height() const { return m_height.get(); }
|
|
|
| - DECLARE_VIRTUAL_TRACE();
|
| -
|
| protected:
|
| - PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
|
| + PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override;
|
|
|
| private:
|
| - AnimatableLengthSize(PassRefPtrWillBeRawPtr<AnimatableValue> width, PassRefPtrWillBeRawPtr<AnimatableValue> height)
|
| + AnimatableLengthSize(PassRefPtr<AnimatableValue> width, PassRefPtr<AnimatableValue> height)
|
| : m_width(width)
|
| , m_height(height)
|
| {
|
| @@ -59,8 +57,8 @@ private:
|
| AnimatableType type() const override { return TypeLengthSize; }
|
| bool equalTo(const AnimatableValue*) const override;
|
|
|
| - RefPtrWillBeMember<AnimatableValue> m_width;
|
| - RefPtrWillBeMember<AnimatableValue> m_height;
|
| + RefPtr<AnimatableValue> m_width;
|
| + RefPtr<AnimatableValue> m_height;
|
| };
|
|
|
| DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthSize, isLengthSize());
|
|
|