[Web Animations] transitions/remove-transition-style.html crashes with GuardMalloc on
[WebKit-https.git] / Source / WebCore / animation / AnimationTimeline.cpp
index 94570e6..67a6f3f 100644 (file)
@@ -55,6 +55,11 @@ AnimationTimeline::~AnimationTimeline()
 {
 }
 
+void AnimationTimeline::forgetAnimation(WebAnimation* animation)
+{
+    m_allAnimations.remove(animation);
+}
+
 void AnimationTimeline::animationTimingDidChange(WebAnimation& animation)
 {
     if (m_animations.add(&animation)) {