Bug 283038

Summary: Introduce lazyInitialize and use it in Document
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: DOMAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2024-11-12 21:15:57 PST
Introduce initializeOnce, which sets the value of const unique_ptr or RefPtr after release-asserting that the value isn't set yet.
Attachments
Ryosuke Niwa
Comment 1 2024-11-12 21:49:32 PST
EWS
Comment 2 2024-11-13 15:25:01 PST
Committed 286566@main (a6c381f8c368): <https://commits.webkit.org/286566@main> Reviewed commits have been landed. Closing PR #36582 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-11-13 15:26:19 PST
Note You need to log in before you can comment on or make changes to this bug.