Summary: | Add a std::nullptr_t constructor for RefPtr | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Don Olmstead <don.olmstead> | ||||||||||
Component: | Web Template Framework | Assignee: | Don Olmstead <don.olmstead> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, benjamin, cdumez, cfleizach, cmarcelo, darin, dmazzoni, eric.carlson, ews-watchlist, glenn, jcraig, jdiggs, jer.noble, kondapallykalyan, luiz, philipj, samuel_white, sergio, webkit-bug-importer, ysuzuki | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Don Olmstead
2021-12-10 21:08:18 PST
Created attachment 446860 [details]
WIP Patch
Created attachment 446865 [details]
WIP Patch
Created attachment 446887 [details]
WIP Patch
Created attachment 446892 [details]
Patch
Comment on attachment 446892 [details]
Patch
r=me
Committed r286917 (245143@main): <https://commits.webkit.org/245143@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446892 [details]. I don’t think this patch actually optimizes any generated code because I’m pretty sure the old constructor got inlined and collapsed to just zero-initialization. But I like that this catches us using 0 by accident, and that it's constexpr. |