Index: Source/core/animation/animatable/AnimatableSVGLength.h |
diff --git a/Source/core/animation/animatable/AnimatableSVGLength.h b/Source/core/animation/animatable/AnimatableSVGLength.h |
index 76cbcf3d5ca4827878c4603578d3240ee580cc52..9abcce57d98c47fc9c77c9a45d233affd3dba057 100644 |
--- a/Source/core/animation/animatable/AnimatableSVGLength.h |
+++ b/Source/core/animation/animatable/AnimatableSVGLength.h |
@@ -40,7 +40,7 @@ class AnimatableSVGLength final : public AnimatableValue { |
public: |
virtual ~AnimatableSVGLength() { } |
- static PassRefPtrWillBeRawPtr<AnimatableSVGLength> create(PassRefPtr<SVGLength> length) |
+ static PassRefPtrWillBeRawPtr<AnimatableSVGLength> create(PassRefPtrWillBeRawPtr<SVGLength> length) |
{ |
return adoptRefWillBeNoop(new AnimatableSVGLength(length)); |
} |
@@ -50,13 +50,13 @@ public: |
return m_length.get(); |
} |
- virtual void trace(Visitor* visitor) override { AnimatableValue::trace(visitor); } |
+ virtual void trace(Visitor*) override; |
protected: |
virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const override; |
private: |
- AnimatableSVGLength(PassRefPtr<SVGLength> length) |
+ explicit AnimatableSVGLength(PassRefPtrWillBeRawPtr<SVGLength> length) |
: m_length(length) |
{ |
} |
@@ -64,7 +64,7 @@ private: |
virtual AnimatableType type() const override { return TypeSVGLength; } |
virtual bool equalTo(const AnimatableValue*) const override; |
- RefPtr<SVGLength> m_length; |
+ RefPtrWillBeMember<SVGLength> m_length; |
}; |
DEFINE_ANIMATABLE_VALUE_TYPE_CASTS(AnimatableSVGLength, isSVGLength()); |