Index: Source/core/animation/Animation.cpp |
diff --git a/Source/core/animation/Animation.cpp b/Source/core/animation/Animation.cpp |
index c5c6b45391418be260e504cfd15ad5707a615934..94f7217c6e66aa4989195e08f204e8084fd4edb4 100644 |
--- a/Source/core/animation/Animation.cpp |
+++ b/Source/core/animation/Animation.cpp |
@@ -112,7 +112,7 @@ Animation::~Animation() |
void Animation::attach(AnimationPlayer* player) |
{ |
if (m_target) { |
- m_target->ensureActiveAnimations().addPlayer(player); |
+ m_target->ensureActiveAnimations().players().add(player); |
m_target->setNeedsAnimationStyleRecalc(); |
} |
AnimationNode::attach(player); |
@@ -121,7 +121,7 @@ void Animation::attach(AnimationPlayer* player) |
void Animation::detach() |
{ |
if (m_target) |
- m_target->activeAnimations()->removePlayer(player()); |
+ m_target->activeAnimations()->players().remove(player()); |
if (m_sampledEffect) |
clearEffects(); |
AnimationNode::detach(); |