Bug 305025

Summary: Use move constructor instead of memcpy() for CSSSelector in CSSSelectorList constructor
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Chris Dumez
Reported 2026-01-06 18:04:39 PST
Use move constructor instead of memcpy() for CSSSelector in CSSSelectorList constructor. This tested as performance neutral on Speedometer. It also reduces help get rid of one use of `WTF_ALLOW_UNSAFE_BUFFER_USAGE`.
Attachments
Chris Dumez
Comment 1 2026-01-06 18:11:10 PST
EWS
Comment 2 2026-01-08 04:51:41 PST
Committed 305269@main (e222b940921b): <https://commits.webkit.org/305269@main> Reviewed commits have been landed. Closing PR #56179 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-01-08 04:52:13 PST
Note You need to log in before you can comment on or make changes to this bug.