Title: [234999] trunk/Source/WebCore
- Revision
- 234999
- Author
- [email protected]
- Date
- 2018-08-17 17:00:25 -0700 (Fri, 17 Aug 2018)
Log Message
Replace canBubble and cancelable booleans in Event by enum classes
https://bugs.webkit.org/show_bug.cgi?id=188692
<rdar://problem/43411944>
Rubber-stamped by Alex Christensen.
Make these enum classes uint8_t.
* dom/Event.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (234998 => 234999)
--- trunk/Source/WebCore/ChangeLog 2018-08-17 23:24:37 UTC (rev 234998)
+++ trunk/Source/WebCore/ChangeLog 2018-08-18 00:00:25 UTC (rev 234999)
@@ -1,3 +1,15 @@
+2018-08-17 Ryosuke Niwa <[email protected]>
+
+ Replace canBubble and cancelable booleans in Event by enum classes
+ https://bugs.webkit.org/show_bug.cgi?id=188692
+ <rdar://problem/43411944>
+
+ Rubber-stamped by Alex Christensen.
+
+ Make these enum classes uint8_t.
+
+ * dom/Event.h:
+
2018-08-17 Alex Christensen <[email protected]>
Add some plumbing for safe browsing
Modified: trunk/Source/WebCore/dom/Event.h (234998 => 234999)
--- trunk/Source/WebCore/dom/Event.h 2018-08-17 23:24:37 UTC (rev 234998)
+++ trunk/Source/WebCore/dom/Event.h 2018-08-18 00:00:25 UTC (rev 234999)
@@ -40,9 +40,9 @@
class Event : public ScriptWrappable, public RefCounted<Event> {
public:
- enum class IsTrusted { No, Yes };
- enum class CanBubble { No, Yes };
- enum class IsCancelable { No, Yes };
+ enum class IsTrusted : uint8_t { No, Yes };
+ enum class CanBubble : uint8_t { No, Yes };
+ enum class IsCancelable : uint8_t { No, Yes };
enum PhaseType {
NONE = 0,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes