Bug 308398

Summary: Eliminate memory allocation in TreeScope::retargetToScope
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: New BugsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 308102    

Ryosuke Niwa
Reported 2026-02-21 13:13:52 PST
Rewrite TreeScope::retargetToScope to avoid memory allocation. We use the same strategy as commonInclusiveAncestorAndChildren in Node.cpp.
Attachments
Ryosuke Niwa
Comment 1 2026-02-21 13:21:04 PST
EWS
Comment 2 2026-02-21 21:23:14 PST
Committed 308002@main (e57ff52d6600): <https://commits.webkit.org/308002@main> Reviewed commits have been landed. Closing PR #59173 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2026-02-21 21:24:11 PST
Note You need to log in before you can comment on or make changes to this bug.