Index: Source/core/animation/animatable/AnimatableLengthBoxAndBool.h |
diff --git a/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h b/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h |
index 3b64b3f2b41fa9c48ebfd64b072cdbefe3fe3f15..4c317ceee234697da6fb859b51bbf78ba937f5f5 100644 |
--- a/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h |
+++ b/Source/core/animation/animatable/AnimatableLengthBoxAndBool.h |
@@ -38,9 +38,9 @@ namespace blink { |
class AnimatableLengthBoxAndBool final : public AnimatableValue { |
public: |
virtual ~AnimatableLengthBoxAndBool() { } |
- static PassRefPtrWillBeRawPtr<AnimatableLengthBoxAndBool> create(PassRefPtrWillBeRawPtr<AnimatableValue> box, bool flag) |
+ static AnimatableLengthBoxAndBool* create(AnimatableValue* box, bool flag) |
{ |
- return adoptRefWillBeNoop(new AnimatableLengthBoxAndBool(box, flag)); |
+ return new AnimatableLengthBoxAndBool(box, flag); |
} |
const AnimatableValue* box() const { return m_box.get(); } |
bool flag() const { return m_flag; } |
@@ -48,11 +48,11 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
protected: |
- virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override; |
+ virtual AnimatableValue* interpolateTo(const AnimatableValue*, double fraction) const override; |
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const override; |
private: |
- AnimatableLengthBoxAndBool(PassRefPtrWillBeRawPtr<AnimatableValue> box, bool flag) |
+ AnimatableLengthBoxAndBool(AnimatableValue* box, bool flag) |
: m_box(box) |
, m_flag(flag) |
{ |
@@ -60,7 +60,7 @@ private: |
virtual AnimatableType type() const override { return TypeLengthBoxAndBool; } |
virtual bool equalTo(const AnimatableValue*) const override; |
- RefPtrWillBeMember<AnimatableValue> m_box; |
+ Member<AnimatableValue> m_box; |
bool m_flag; |
}; |