[webkit-changes] [WebKit/WebKit] 6cb1d9: [web-animations] adopt AnimatableProperty instead ...
Antoine Quint
noreply at github.com
Sat Dec 17 11:45:51 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6cb1d999a152484588e500d4d95e83f65652c72b
https://github.com/WebKit/WebKit/commit/6cb1d999a152484588e500d4d95e83f65652c72b
Author: Antoine Quint <graouts at webkit.org>
Date: 2022-12-17 (Sat, 17 Dec 2022)
Changed paths:
M Source/WebCore/animation/CSSPropertyAnimation.cpp
M Source/WebCore/animation/CSSPropertyAnimation.h
M Source/WebCore/animation/KeyframeEffect.cpp
M Source/WebCore/animation/WebAnimation.cpp
Log Message:
-----------
[web-animations] adopt AnimatableProperty instead of CSSPropertyAnimation::Property
https://bugs.webkit.org/show_bug.cgi?id=249533
Reviewed by Simon Fraser.
We introduced the AnimatableProperty type in bug 249498, which removes the need
for CSSPropertyAnimation::Property. We also fix switchOn statements where we used
the AtomString variant to use const AtomString&.
* Source/WebCore/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyBlendingContext::CSSPropertyBlendingContext):
(WebCore::CSSPropertyAnimation::blendProperty):
(WebCore::CSSPropertyAnimation::isPropertyAdditiveOrCumulative):
(WebCore::CSSPropertyAnimation::propertyRequiresBlendingForAccumulativeIteration):
* Source/WebCore/animation/CSSPropertyAnimation.h:
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::setAnimatedPropertiesInStyle):
* Source/WebCore/animation/WebAnimation.cpp:
(WebCore::WebAnimation::commitStyles):
Canonical link: https://commits.webkit.org/258050@main
More information about the webkit-changes
mailing list