Bug 307921
| Summary: | Use scoped enum classes in StepRange::StepValueShouldBe and CollapsedBorderSide | ||
|---|---|---|---|
| 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 two more C-style enums to enum class : uint8_t for stronger
type safety. Remove redundant prefixes from values.
StepRange::StepValueShouldBe:
- StepValueShouldBeReal → Real
- ParsedStepValueShouldBeInteger → ParsedInteger
- ScaledStepValueShouldBeInteger → ScaledInteger
CollapsedBorderSide:
- CBSBefore → Before
- CBSAfter → After
- CBSStart → Start
- CBSEnd → End
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/170404272>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/58736
EWS
Committed 307785@main (6215796bd7ec): <https://commits.webkit.org/307785@main>
Reviewed commits have been landed. Closing PR #58736 and removing active labels.