RESOLVED FIXED 215544
Use more enum classes in DateComponents
https://bugs.webkit.org/show_bug.cgi?id=215544
Summary Use more enum classes in DateComponents
Rob Buis
Reported 2020-08-15 13:06:48 PDT
Make Type and SecondFormat enum classes since this is more readable and allows us to have less includes in header files.
Attachments
Patch (34.01 KB, patch)
2020-08-15 13:38 PDT, Rob Buis
no flags
Patch (34.87 KB, patch)
2020-08-15 13:55 PDT, Rob Buis
no flags
Patch (36.57 KB, patch)
2020-08-16 05:33 PDT, Rob Buis
no flags
Rob Buis
Comment 1 2020-08-15 13:38:00 PDT
Rob Buis
Comment 2 2020-08-15 13:55:52 PDT
Darin Adler
Comment 3 2020-08-15 14:24:22 PDT
Comment on attachment 406675 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406675&action=review > Source/WebCore/platform/DateComponents.h:39 > +enum class SecondFormat { I suggest adding ": uint8_t". > Source/WebCore/platform/DateComponents.h:45 > +enum class DateComponentsType { I suggest adding ": uint8_t".
Rob Buis
Comment 4 2020-08-16 05:33:15 PDT
Rob Buis
Comment 5 2020-08-16 12:40:45 PDT
Comment on attachment 406675 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=406675&action=review >> Source/WebCore/platform/DateComponents.h:39 >> +enum class SecondFormat { > > I suggest adding ": uint8_t". Done. >> Source/WebCore/platform/DateComponents.h:45 >> +enum class DateComponentsType { > > I suggest adding ": uint8_t". Done.
Radar WebKit Bug Importer
Comment 6 2020-08-22 13:07:16 PDT
EWS
Comment 7 2020-08-25 08:29:17 PDT
Committed r266114: <https://trac.webkit.org/changeset/266114> All reviewed patches have been landed. Closing bug and clearing flags on attachment 406683 [details].
Note You need to log in before you can comment on or make changes to this bug.