RESOLVED FIXED307045
Convert OpenTypeMathData::MathConstant to a scoped enum class
https://bugs.webkit.org/show_bug.cgi?id=307045
Summary Convert OpenTypeMathData::MathConstant to a scoped enum class
zak ridouh
Reported 2026-02-04 23:50:36 PST
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
Radar WebKit Bug Importer
Comment 1 2026-02-04 23:50:43 PST
zak ridouh
Comment 2 2026-02-04 23:52:49 PST
EWS
Comment 3 2026-02-06 13:42:26 PST
Committed 306973@main (67220c25b6f2): <https://commits.webkit.org/306973@main> Reviewed commits have been landed. Closing PR #57937 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.