Bug 302566

Summary: [web-animations] make `KeyframeEffectStack::sortedEffects()` return a const reference
Product: WebKit Reporter: Antoine Quint <graouts>
Component: AnimationsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Antoine Quint
Reported 2025-11-15 03:31:28 PST
`KeyframeEffectStack` offers a single way to iterate over its effects, the `sortedEffects()` method. However, this method returns a copy of the effects, always, but most call sites could use a const reference of the effects.
Attachments
Antoine Quint
Comment 1 2025-11-15 03:33:32 PST
EWS
Comment 2 2025-11-15 08:58:40 PST
Committed 303073@main (6d8c2b54d9cb): <https://commits.webkit.org/303073@main> Reviewed commits have been landed. Closing PR #53987 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-11-15 08:59:12 PST
Note You need to log in before you can comment on or make changes to this bug.