Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dfd1dee078d7f13ef50769996eedfc7234713dec
https://github.com/WebKit/WebKit/commit/dfd1dee078d7f13ef50769996eedfc7234713dec
Author: Antoine Quint <[email protected]>
Date: 2025-10-17 (Fri, 17 Oct 2025)
Changed paths:
M Source/WebCore/animation/AnimationTimeline.cpp
M Source/WebCore/animation/CSSAnimation.cpp
M Source/WebCore/animation/DocumentTimeline.cpp
M Source/WebCore/animation/ElementAnimationRareData.cpp
M Source/WebCore/animation/ScrollTimeline.cpp
M Source/WebCore/animation/StyleOriginatedAnimation.cpp
M Source/WebCore/animation/WebAnimation.cpp
M Source/WebCore/animation/WebAnimation.h
M Source/WebCore/inspector/agents/InspectorAnimationAgent.cpp
M Source/WebCore/style/StyleCustomPropertyRegistry.cpp
M Source/WebCore/style/Styleable.cpp
Log Message:
-----------
[web-animations] add `WebAnimation::keyframeEffect()` to remove many calls to
`dynamicDowncast<KeyframeEffect>`
https://bugs.webkit.org/show_bug.cgi?id=300970
rdar://162843897
Reviewed by Anne van Kesteren.
* Source/WebCore/animation/AnimationTimeline.cpp:
(WebCore::AnimationTimeline::animationTimingDidChange):
(WebCore::AnimationTimeline::removeAnimation):
* Source/WebCore/animation/CSSAnimation.cpp:
(WebCore::CSSAnimation::keyframesRuleDidChange):
(WebCore::CSSAnimation::updateKeyframesIfNeeded):
* Source/WebCore/animation/DocumentTimeline.cpp:
(WebCore::DocumentTimeline::animationCanBeRemoved):
(WebCore::DocumentTimeline::transitionDidComplete):
(WebCore::DocumentTimeline::applyPendingAcceleratedAnimations):
* Source/WebCore/animation/ElementAnimationRareData.cpp:
(WebCore::ElementAnimationRareData::setAnimationsCreatedByMarkup):
* Source/WebCore/animation/ScrollTimeline.cpp:
(WebCore::ScrollTimeline::updateCurrentTimeIfStale):
* Source/WebCore/animation/StyleOriginatedAnimation.cpp:
(WebCore::StyleOriginatedAnimation::flushPendingStyleChanges const):
* Source/WebCore/animation/WebAnimation.cpp:
(WebCore::WebAnimation::keyframeEffect const):
(WebCore::WebAnimation::setTimeline):
(WebCore::WebAnimation::willChangeRenderer):
(WebCore::WebAnimation::enqueueAnimationEvent):
(WebCore::WebAnimation::invalidateEffect):
(WebCore::WebAnimation::finishNotificationSteps):
(WebCore::WebAnimation::resolve):
(WebCore::WebAnimation::updateRelevance):
(WebCore::WebAnimation::isReplaceable const):
(WebCore::WebAnimation::commitStyles):
(WebCore::WebAnimation::setBindingsRangeStart):
(WebCore::WebAnimation::setBindingsRangeEnd):
(WebCore::WebAnimation::range):
* Source/WebCore/animation/WebAnimation.h:
* Source/WebCore/inspector/agents/InspectorAnimationAgent.cpp:
(WebCore::InspectorAnimationAgent::requestEffectTarget):
* Source/WebCore/style/StyleCustomPropertyRegistry.cpp:
(WebCore::Style::CustomPropertyRegistry::notifyAnimationsOfCustomPropertyRegistration):
* Source/WebCore/style/Styleable.cpp:
(WebCore::Styleable::computeAnimationExtent const):
(WebCore::Styleable::hasRunningAcceleratedAnimations const):
(WebCore::Styleable::queryContainerDidChange const):
Canonical link: https://commits.webkit.org/301705@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes