Title: [264656] trunk/Source/WebCore
- Revision
- 264656
- Author
- commit-qu...@webkit.org
- Date
- 2020-07-21 09:07:10 -0700 (Tue, 21 Jul 2020)
Log Message
Make AnyStepHandling an enum class
https://bugs.webkit.org/show_bug.cgi?id=214423
Patch by Rob Buis <rb...@igalia.com> on 2020-07-21
Reviewed by Darin Adler.
Correct some post commit comments.
* html/HTMLInputElement.h:
* html/InputType.h:
* html/StepRange.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (264655 => 264656)
--- trunk/Source/WebCore/ChangeLog 2020-07-21 15:46:41 UTC (rev 264655)
+++ trunk/Source/WebCore/ChangeLog 2020-07-21 16:07:10 UTC (rev 264656)
@@ -1,3 +1,16 @@
+2020-07-21 Rob Buis <rb...@igalia.com>
+
+ Make AnyStepHandling an enum class
+ https://bugs.webkit.org/show_bug.cgi?id=214423
+
+ Reviewed by Darin Adler.
+
+ Correct some post commit comments.
+
+ * html/HTMLInputElement.h:
+ * html/InputType.h:
+ * html/StepRange.h:
+
2020-07-21 Xabier Rodriguez Calvar <calva...@igalia.com>
[GStreamer][1.18] mediastreamsrc element hits assert in gst -core
Modified: trunk/Source/WebCore/html/HTMLInputElement.h (264655 => 264656)
--- trunk/Source/WebCore/html/HTMLInputElement.h 2020-07-21 15:46:41 UTC (rev 264655)
+++ trunk/Source/WebCore/html/HTMLInputElement.h 2020-07-21 16:07:10 UTC (rev 264656)
@@ -52,7 +52,7 @@
RefPtr<HTMLInputElement> checkedRadioButton;
};
-enum class AnyStepHandling;
+enum class AnyStepHandling : bool;
class HTMLInputElement : public HTMLTextFormControlElement {
WTF_MAKE_ISO_ALLOCATED(HTMLInputElement);
Modified: trunk/Source/WebCore/html/InputType.h (264655 => 264656)
--- trunk/Source/WebCore/html/InputType.h 2020-07-21 15:46:41 UTC (rev 264655)
+++ trunk/Source/WebCore/html/InputType.h 2020-07-21 16:07:10 UTC (rev 264656)
@@ -66,7 +66,7 @@
struct InputElementClickState;
-enum class AnyStepHandling;
+enum class AnyStepHandling : bool;
// An InputType object represents the type-specific part of an HTMLInputElement.
// Do not expose instances of InputType and classes derived from it to classes
Modified: trunk/Source/WebCore/html/StepRange.h (264655 => 264656)
--- trunk/Source/WebCore/html/StepRange.h 2020-07-21 15:46:41 UTC (rev 264655)
+++ trunk/Source/WebCore/html/StepRange.h 2020-07-21 16:07:10 UTC (rev 264656)
@@ -25,15 +25,9 @@
namespace WebCore {
-enum class AnyStepHandling {
- Reject,
- Default
-};
+enum class AnyStepHandling : bool { Reject, Default };
-enum class RangeLimitations {
- Valid,
- Invalid
-};
+enum class RangeLimitations : bool { Valid, Invalid };
class StepRange {
public:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes