| Index: Source/core/animation/InertAnimation.cpp
|
| diff --git a/Source/core/animation/InertAnimation.cpp b/Source/core/animation/InertAnimation.cpp
|
| index 42479bfcf793c76d4f7cc6065d0994edea3b0c3e..8af423d7abcc29b49fbe9153e66ec8ff025ae48a 100644
|
| --- a/Source/core/animation/InertAnimation.cpp
|
| +++ b/Source/core/animation/InertAnimation.cpp
|
| @@ -34,9 +34,9 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<InertAnimation> InertAnimation::create(PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, bool paused)
|
| +PassRefPtrWillBeRawPtr<InertAnimation> InertAnimation::create(PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, bool paused)
|
| {
|
| - return adoptRef(new InertAnimation(effect, timing, paused));
|
| + return adoptRefWillBeNoop(new InertAnimation(effect, timing, paused));
|
| }
|
|
|
| InertAnimation::InertAnimation(PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, bool paused)
|
| @@ -58,10 +58,15 @@ PassOwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation> > > In
|
| return m_effect->sample(static_cast<int>(iteration), timeFraction(), iterationDuration());
|
| }
|
|
|
| -
|
| double InertAnimation::calculateTimeToEffectChange(bool, double, double) const
|
| {
|
| return std::numeric_limits<double>::infinity();
|
| }
|
|
|
| +void InertAnimation::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_effect);
|
| + TimedItem::trace(visitor);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|