Bug 251346
| Summary: | Unnecessarily using std::variant and std::monostate when we could just use nullptr instead | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> |
| Component: | Web Inspector | Assignee: | Darin Adler <darin> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | dino, inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Darin Adler
Noticed that some code is using std::variant and std::monostate for a case where nullptr will do the trick.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/104809022>
Darin Adler
Pull request: https://github.com/WebKit/WebKit/pull/9302
EWS
Committed 259572@main (37f282e65d2e): <https://commits.webkit.org/259572@main>
Reviewed commits have been landed. Closing PR #9302 and removing active labels.