Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5305f27f68fadc17279f81198acd0adc7169fcde
https://github.com/WebKit/WebKit/commit/5305f27f68fadc17279f81198acd0adc7169fcde
Author: Antoine Quint <[email protected]>
Date: 2025-10-10 (Fri, 10 Oct 2025)
Changed paths:
M Source/WebCore/animation/CSSAnimation.cpp
M Source/WebCore/animation/CSSAnimation.h
M Source/WebCore/animation/CSSTransition.cpp
M Source/WebCore/animation/CSSTransition.h
M Source/WebCore/animation/KeyframeEffect.cpp
M Source/WebCore/animation/StyleOriginatedAnimation.h
Log Message:
-----------
Remove use of `RefPtr::unsafeGet()` in
`KeyframeEffect::timingFunctionForBlendingKeyframe()`
https://bugs.webkit.org/show_bug.cgi?id=300255
rdar://162060902
Reviewed by Geoffrey Garen.
The `RefPtr::unsafeGet()` function was introduced in 301069@main to identify
lifetime contradictions.
We remove the call within `KeyframeEffect::timingFunctionForBlendingKeyframe()`
by returning a raw
pointer rather than a `RefPtr`.
* Source/WebCore/animation/CSSAnimation.cpp:
(WebCore::CSSAnimation::backingAnimationTimingFunction const):
* Source/WebCore/animation/CSSAnimation.h:
* Source/WebCore/animation/CSSTransition.cpp:
(WebCore::CSSTransition::backingAnimationTimingFunction const):
* Source/WebCore/animation/CSSTransition.h:
* Source/WebCore/animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::timingFunctionForBlendingKeyframe const):
* Source/WebCore/animation/StyleOriginatedAnimation.h:
Canonical link: https://commits.webkit.org/301329@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