| Index: Source/core/animation/AnimatableDouble.cpp
|
| diff --git a/Source/core/animation/AnimatableDouble.cpp b/Source/core/animation/AnimatableDouble.cpp
|
| index 77d80f71ad2c6dd46a2342d50d1cd205d5431008..7a51fb45b89dfd7f03baa146d53bd9f7208a8488 100644
|
| --- a/Source/core/animation/AnimatableDouble.cpp
|
| +++ b/Source/core/animation/AnimatableDouble.cpp
|
| @@ -49,7 +49,7 @@ bool AnimatableDouble::usesDefaultInterpolationWith(const AnimatableValue* value
|
| return (m_constraint == InterpolationIsNonContinuousWithZero) && (!m_number || !other->m_number);
|
| }
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValue* value, double fraction) const
|
| +PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValue* value, double fraction) const
|
| {
|
| const AnimatableDouble* other = toAnimatableDouble(value);
|
| ASSERT(m_constraint == other->m_constraint);
|
| @@ -58,7 +58,7 @@ PassRefPtr<AnimatableValue> AnimatableDouble::interpolateTo(const AnimatableValu
|
| return AnimatableDouble::create(blend(m_number, other->m_number, fraction));
|
| }
|
|
|
| -PassRefPtr<AnimatableValue> AnimatableDouble::addWith(const AnimatableValue* value) const
|
| +PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableDouble::addWith(const AnimatableValue* value) const
|
| {
|
| // Optimization for adding with 0.
|
| if (!m_number)
|
| @@ -81,4 +81,9 @@ double AnimatableDouble::distanceTo(const AnimatableValue* value) const
|
| return fabs(m_number - other->m_number);
|
| }
|
|
|
| +void AnimatableDouble::trace(Visitor* visitor)
|
| +{
|
| + AnimatableValue::trace(visitor);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|