void AnimationControllerPrivate::animationWillBeRemoved(AnimationBase* animation) { removeFromAnimationsWaitingForStyle(animation); removeFromAnimationsWaitingForStartTimeResponse(animation); #if ENABLE(CSS_ANIMATIONS_LEVEL_2) removeFromAnimationsDependentOnScroll(animation); #endif }
void AnimationControllerPrivate::animationWillBeRemoved(AnimationBase* animation) { LOG(Animations, "AnimationControllerPrivate %p animationWillBeRemoved: %p", this, animation); removeFromAnimationsWaitingForStyle(animation); removeFromAnimationsWaitingForStartTimeResponse(animation); #if ENABLE(CSS_ANIMATIONS_LEVEL_2) removeFromAnimationsDependentOnScroll(animation); #endif bool anyAnimationsWaitingForAsyncStart = false; for (auto& animation : m_animationsWaitingForStartTimeResponse) { if (animation->waitingForStartTime() && animation->isAccelerated()) { anyAnimationsWaitingForAsyncStart = true; break; } } if (!anyAnimationsWaitingForAsyncStart) m_waitingForAsyncStartNotification = false; }
void AnimationControllerPrivate::animationWillBeRemoved(AnimationBase* animation) { removeFromAnimationsWaitingForStyle(animation); removeFromAnimationsWaitingForStartTimeResponse(animation); }