Bug 307045
| Summary: | Convert OpenTypeMathData::MathConstant to a scoped enum class | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zak ridouh <zakr> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
zak ridouh
Convert OpenTypeMathData::MathConstant to a scoped enum class.
This provides stronger type safety by preventing implicit conversions to
integers, avoids polluting the enclosing namespace with enumerator names,
and reduces storage size from int to uint8_t.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/169688253>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/57937
EWS
Committed 306973@main (67220c25b6f2): <https://commits.webkit.org/306973@main>
Reviewed commits have been landed. Closing PR #57937 and removing active labels.