Make AnyStepHandling an enum class since this is more readable and allows us to have less includes in header files.
Created attachment 404483 [details] Patch
Comment on attachment 404483 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404483&action=review > Source/WebCore/html/HTMLInputElement.cpp:2123 > + StepRange stepRange = createStepRange(AnyStepHandling::Reject); auto > Source/WebCore/html/RangeInputType.cpp:208 > + StepRange stepRange(createStepRange(AnyStepHandling::Reject)); auto stepRange = ... Ditto below.
Created attachment 404713 [details] Patch
Committed r264600: <https://trac.webkit.org/changeset/264600> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404713 [details].
<rdar://problem/65823760>
Comment on attachment 404713 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=404713&action=review > Source/WebCore/html/StepRange.h:31 > -enum AnyStepHandling { RejectAny, AnyIsDefaultStep }; > +enum class AnyStepHandling { > + Reject, > + Default > +}; Add a : bool here? I think this was good on a single line, a little disappointed itβs now on multiple lines. > Source/WebCore/html/StepRange.h:33 > enum class RangeLimitations { Ditto.
Reopening to attach new patch.
Created attachment 404727 [details] Patch
Comment on attachment 404727 [details] Patch Also need to add the ": bool" anywhere these are forward declared.
Created attachment 404729 [details] Patch
(In reply to Darin Adler from comment #9) > Comment on attachment 404727 [details] > Patch > > Also need to add the ": bool" anywhere these are forward declared. Yeah, I was a bit too quick, should be green this time.
Committed r264656: <https://trac.webkit.org/changeset/264656> All reviewed patches have been landed. Closing bug and clearing flags on attachment 404729 [details].