diff options
Diffstat (limited to 'Source/core/animation/ActiveAnimations.cpp')
-rw-r--r-- | Source/core/animation/ActiveAnimations.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/core/animation/ActiveAnimations.cpp b/Source/core/animation/ActiveAnimations.cpp index d3c1189da..e36af4644 100644 --- a/Source/core/animation/ActiveAnimations.cpp +++ b/Source/core/animation/ActiveAnimations.cpp @@ -35,6 +35,12 @@ namespace WebCore { +ActiveAnimations::~ActiveAnimations() +{ + for (size_t i = 0; i < m_animations.size(); ++i) + m_animations[i]->notifyElementDestroyed(); +} + void ActiveAnimations::updateAnimationFlags(RenderStyle& style) { for (AnimationPlayerSet::const_iterator it = m_players.begin(); it != players().end(); ++it) { |