[webkit-changes] [WebKit/WebKit] 8877af: [web-animations] use dynamicDowncast<> when downca...

Antoine Quint noreply at github.com
Sun Jan 8 11:54:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8877afa46f539056d16579515daa83ba97076c29
      https://github.com/WebKit/WebKit/commit/8877afa46f539056d16579515daa83ba97076c29
  Author: Antoine Quint <graouts at apple.com>
  Date:   2023-01-08 (Sun, 08 Jan 2023)

  Changed paths:
    M Source/WebCore/animation/AnimationEffect.cpp
    M Source/WebCore/animation/KeyframeEffect.cpp
    M Source/WebCore/inspector/agents/InspectorAnimationAgent.cpp
    M Source/WebCore/style/Styleable.cpp

  Log Message:
  -----------
  [web-animations] use dynamicDowncast<> when downcast<> is used for DeclarativeAnimation and its subclasses
https://bugs.webkit.org/show_bug.cgi?id=250295

Reviewed by Tim Nguyen.

* Source/WebCore/animation/AnimationEffect.cpp:
(WebCore::AnimationEffect::getBindingsTiming const):
(WebCore::AnimationEffect::getBindingsComputedTiming const):
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::computeCSSAnimationBlendingKeyframes):
(WebCore::KeyframeEffect::timingFunctionForBlendingKeyframe const):
(WebCore::KeyframeEffect::backingAnimationForCompositedRenderer const):
(WebCore::KeyframeEffect::progressUntilNextStep const):
(WebCore::KeyframeEffect::bindingsComposite const):
(WebCore::KeyframeEffect::setBindingsComposite):
* Source/WebCore/inspector/agents/InspectorAnimationAgent.cpp:
(WebCore::buildObjectForKeyframes):
(WebCore::InspectorAnimationAgent::willApplyKeyframeEffect):
(WebCore::InspectorAnimationAgent::didSetWebAnimationEffect):
(WebCore::InspectorAnimationAgent::willDestroyWebAnimation):
(WebCore::InspectorAnimationAgent::bindAnimation):
* Source/WebCore/style/Styleable.cpp:
(WebCore::Styleable::removeDeclarativeAnimationFromListsForOwningElement const):
(WebCore::updateCSSTransitionsForStyleableAndProperty):

Canonical link: https://commits.webkit.org/258636@main




More information about the webkit-changes mailing list