Chromium Code Reviews| 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..2cc80af0b4873bb4a258be837477fdf194b14b90 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) |
| + AnimatableSVGLength(PassRefPtrWillBeRawPtr<SVGLength> length) |
|
haraken
2014/11/11 05:22:46
Add explicit.
sof
2014/11/12 13:45:07
Done.
|
| : 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()); |