diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/animation/AnimatableNeutral.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/animation/AnimatableNeutral.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/core/animation/AnimatableNeutral.h b/chromium/third_party/WebKit/Source/core/animation/AnimatableNeutral.h index 5b8759ce45b..16f8595b29f 100644 --- a/chromium/third_party/WebKit/Source/core/animation/AnimatableNeutral.h +++ b/chromium/third_party/WebKit/Source/core/animation/AnimatableNeutral.h @@ -35,16 +35,18 @@ namespace WebCore { -class AnimatableNeutral : public AnimatableValue { +class AnimatableNeutral FINAL : public AnimatableValue { public: virtual ~AnimatableNeutral() { } + virtual void trace(Visitor* visitor) OVERRIDE { AnimatableValue::trace(visitor); } + protected: - static PassRefPtr<AnimatableNeutral> create() { return adoptRef(new AnimatableNeutral()); } - virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const OVERRIDE + static PassRefPtrWillBeRawPtr<AnimatableNeutral> create() { return adoptRefWillBeNoop(new AnimatableNeutral()); } + virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue* value, double fraction) const OVERRIDE { ASSERT_NOT_REACHED(); - return 0; + return nullptr; } private: |