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:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@234999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/dom/Event.h b/Source/WebCore/dom/Event.h
index 22cd3a5..89bb87c 100644
--- a/Source/WebCore/dom/Event.h
+++ b/Source/WebCore/dom/Event.h
@@ -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,