Bug 254298

Summary: Avoid unnecessary calls to updateGlobalPosition() in AnimationTimeline::animationTimingDidChange()
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: AnimationsAssignee: Chris Dumez <cdumez>
Status: RESOLVED INVALID    
Severity: Normal CC: dino, graouts
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2023-03-22 16:50:29 PDT
Update AnimationTimeline::animationTimingDidChange() to only call updateGlobalPosition() for new animations. For pre-existing animations, it is safe to assume they already have a global position.
Attachments
Chris Dumez
Comment 1 2023-03-22 16:52:01 PDT
Chris Dumez
Comment 2 2023-03-22 19:31:52 PDT
Patch is incorrect.
Note You need to log in before you can comment on or make changes to this bug.