Index: Source/core/animation/AnimatableDouble.h |
diff --git a/Source/core/animation/AnimatableDouble.h b/Source/core/animation/AnimatableDouble.h |
index 172674c595e155db3ada2c512f26e41ff2ad33d1..3891ec12d29eac80d13d12ef78f7b7436590dbe8 100644 |
--- a/Source/core/animation/AnimatableDouble.h |
+++ b/Source/core/animation/AnimatableDouble.h |
@@ -45,17 +45,19 @@ public: |
InterpolationIsNonContinuousWithZero, |
}; |
- static PassRefPtr<AnimatableDouble> create(double number, Constraint constraint = Unconstrained) |
+ static PassRefPtrWillBeRawPtr<AnimatableDouble> create(double number, Constraint constraint = Unconstrained) |
{ |
- return adoptRef(new AnimatableDouble(number, constraint)); |
+ return adoptRefWillBeNoop(new AnimatableDouble(number, constraint)); |
} |
PassRefPtrWillBeRawPtr<CSSValue> toCSSValue() const; |
double toDouble() const { return m_number; } |
+ virtual void trace(Visitor*) OVERRIDE { } |
+ |
protected: |
- virtual PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE; |
- virtual PassRefPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE; |
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> interpolateTo(const AnimatableValue*, double fraction) const OVERRIDE; |
+ virtual PassRefPtrWillBeRawPtr<AnimatableValue> addWith(const AnimatableValue*) const OVERRIDE; |
virtual bool usesDefaultInterpolationWith(const AnimatableValue*) const OVERRIDE; |
private: |