Index: Source/core/animation/animatable/AnimatableLengthBox.h |
diff --git a/Source/core/animation/animatable/AnimatableLengthBox.h b/Source/core/animation/animatable/AnimatableLengthBox.h |
index 3968111a80c03d7c311eaee990c85f363965b984..068b27f580deb233a5aa726524a22f3c7cbb93e3 100644 |
--- a/Source/core/animation/animatable/AnimatableLengthBox.h |
+++ b/Source/core/animation/animatable/AnimatableLengthBox.h |
@@ -38,22 +38,22 @@ namespace blink { |
class AnimatableLengthBox final : public AnimatableValue { |
public: |
~AnimatableLengthBox() override { } |
- static PassRefPtrWillBeRawPtr<AnimatableLengthBox> create(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom) |
+ static AnimatableLengthBox* create(AnimatableValue* left, AnimatableValue* right, AnimatableValue* top, AnimatableValue* bottom) |
{ |
- return adoptRefWillBeNoop(new AnimatableLengthBox(left, right, top, bottom)); |
+ return new AnimatableLengthBox(left, right, top, bottom); |
} |
- const AnimatableValue* left() const { return m_left.get(); } |
- const AnimatableValue* right() const { return m_right.get(); } |
- const AnimatableValue* top() const { return m_top.get(); } |
- const AnimatableValue* bottom() const { return m_bottom.get(); } |
+ const AnimatableValue* left() const { return m_left; } |
+ const AnimatableValue* right() const { return m_right; } |
+ const AnimatableValue* top() const { return m_top; } |
+ const AnimatableValue* bottom() const { return m_bottom; } |
DECLARE_VIRTUAL_TRACE(); |
protected: |
- PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override; |
+ AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override; |
private: |
- AnimatableLengthBox(PassRefPtrWillBeRawPtr<AnimatableValue> left, PassRefPtrWillBeRawPtr<AnimatableValue> right, PassRefPtrWillBeRawPtr<AnimatableValue> top, PassRefPtrWillBeRawPtr<AnimatableValue> bottom) |
+ AnimatableLengthBox(AnimatableValue* left, AnimatableValue* right, AnimatableValue* top, AnimatableValue* bottom) |
: m_left(left) |
, m_right(right) |
, m_top(top) |
@@ -63,10 +63,10 @@ private: |
AnimatableType type() const override { return TypeLengthBox; } |
bool equalTo(const AnimatableValue*) const override; |
- RefPtrWillBeMember<AnimatableValue> m_left; |
- RefPtrWillBeMember<AnimatableValue> m_right; |
- RefPtrWillBeMember<AnimatableValue> m_top; |
- RefPtrWillBeMember<AnimatableValue> m_bottom; |
+ Member<AnimatableValue> m_left; |
+ Member<AnimatableValue> m_right; |
+ Member<AnimatableValue> m_top; |
+ Member<AnimatableValue> m_bottom; |
}; |
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableLengthBox, isLengthBox()); |