Index: Source/core/animation/Animation.cpp |
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp |
index cfcc388b2e425652bc976420b550b2c02fda7e71..6df1bb0518394a8efc0fd170667c87d0b663bc7f 100644 |
--- a/Source/core/animation/Animation.cpp |
+++ b/Source/core/animation/Animation.cpp |
@@ -89,7 +89,7 @@ PassRefPtrWillBeRawPtr<Animation> Animation::create(Element* element, const Vect |
} |
Animation::Animation(Element* target, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing, Priority priority, PassOwnPtr<EventDelegate> eventDelegate) |
- : TimedItem(timing, eventDelegate) |
+ : AnimationSource(timing, eventDelegate) |
, m_target(target) |
, m_effect(effect) |
, m_sampledEffect(nullptr) |
@@ -115,7 +115,7 @@ void Animation::attach(AnimationPlayer* player) |
m_target->ensureActiveAnimations().addPlayer(player); |
m_target->setNeedsAnimationStyleRecalc(); |
} |
- TimedItem::attach(player); |
+ AnimationSource::attach(player); |
} |
void Animation::detach() |
@@ -124,7 +124,7 @@ void Animation::detach() |
m_target->activeAnimations()->removePlayer(player()); |
if (m_sampledEffect) |
clearEffects(); |
- TimedItem::detach(); |
+ AnimationSource::detach(); |
} |
void Animation::specifiedTimingChanged() |
@@ -310,7 +310,7 @@ void Animation::trace(Visitor* visitor) |
visitor->trace(m_target); |
visitor->trace(m_effect); |
visitor->trace(m_sampledEffect); |
- TimedItem::trace(visitor); |
+ AnimationSource::trace(visitor); |
} |
} // namespace WebCore |