| Index: Source/core/animation/InertAnimation.cpp
|
| diff --git a/Source/core/animation/InertAnimation.cpp b/Source/core/animation/InertAnimation.cpp
|
| index eacfec2578f1d6229b86349cbcbb3a958c26e163..e43f1d6b6137cd4b8ce574f49496b150cdf15fdf 100644
|
| --- a/Source/core/animation/InertAnimation.cpp
|
| +++ b/Source/core/animation/InertAnimation.cpp
|
| @@ -34,12 +34,12 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtrWillBeRawPtr<InertAnimation> InertAnimation::create(PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, bool paused, double inheritedTime)
|
| +InertAnimation* InertAnimation::create(AnimationEffect* effect, const Timing& timing, bool paused, double inheritedTime)
|
| {
|
| - return adoptRefWillBeNoop(new InertAnimation(effect, timing, paused, inheritedTime));
|
| + return new InertAnimation(effect, timing, paused, inheritedTime);
|
| }
|
|
|
| -InertAnimation::InertAnimation(PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, bool paused, double inheritedTime)
|
| +InertAnimation::InertAnimation(AnimationEffect* effect, const Timing& timing, bool paused, double inheritedTime)
|
| : AnimationNode(timing)
|
| , m_effect(effect)
|
| , m_paused(paused)
|
| @@ -47,11 +47,11 @@ InertAnimation::InertAnimation(PassRefPtrWillBeRawPtr<AnimationEffect> effect, c
|
| {
|
| }
|
|
|
| -void InertAnimation::sample(OwnPtrWillBeRawPtr<WillBeHeapVector<RefPtrWillBeMember<Interpolation>>>& result)
|
| +void InertAnimation::sample(HeapVector<Member<Interpolation>>* result)
|
| {
|
| updateInheritedTime(m_inheritedTime, TimingUpdateOnDemand);
|
| if (!isInEffect()) {
|
| - result.clear();
|
| + result->clear();
|
| return;
|
| }
|
|
|
|
|