Bug 283038
| Summary: | Introduce lazyInitialize and use it in Document | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | DOM | Assignee: | 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
Introduce initializeOnce, which sets the value of const unique_ptr or RefPtr after release-asserting that the value isn't set yet.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/36582
EWS
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
<rdar://problem/139833886>