Event::Event and Event::create take two booleans to indicate whether an event can bubble and whether it's cancelable. Replace these booleans by enum classes to make the call sites more readable than Event::create(~, false, false).
Created attachment 347351 [details] Cleanup
Attachment 347351 [details] did not pass style-queue: ERROR: Source/WebCore/dom/KeyboardEvent.cpp:97: Comma should be at the beginning of the line in a member initialization list. [whitespace/init] [4] ERROR: Source/WebCore/dom/KeyboardEvent.cpp:98: Comma should be at the beginning of the line in a member initialization list. [whitespace/init] [4] Total errors found: 2 in 164 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 347352 [details] GTK build fix attempt
Attachment 347352 [details] did not pass style-queue: ERROR: Source/WebCore/dom/KeyboardEvent.cpp:97: Comma should be at the beginning of the line in a member initialization list. [whitespace/init] [4] ERROR: Source/WebCore/dom/KeyboardEvent.cpp:98: Comma should be at the beginning of the line in a member initialization list. [whitespace/init] [4] ERROR: Source/WebCore/dom/TouchEvent.cpp:41: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/dom/TouchEvent.cpp:41: Wrong number of spaces before statement. (expected: 8) [whitespace/indent] [4] ERROR: Source/WebCore/dom/TouchEvent.cpp:41: Comma should be at the beginning of the line in a member initialization list. [whitespace/init] [4] ERROR: Source/WebCore/dom/TouchEvent.cpp:42: Comma should be at the beginning of the line in a member initialization list. [whitespace/init] [4] ERROR: Source/WebCore/dom/TouchEvent.cpp:44: Comma should be at the beginning of the line in a member initialization list. [whitespace/init] [4] Total errors found: 7 in 165 files If any of these errors are false positives, please file a bug against check-webkit-style.
<rdar://problem/43411944>
Committed r234995: <https://trac.webkit.org/changeset/234995>
Committed r234999: <https://trac.webkit.org/changeset/234999>