| Summary: | PlatformEvent::Type should be an enum class | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | BJ Burg <bburg> | ||||||||
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||||||
| Status: | NEW --- | ||||||||||
| Severity: | Normal | CC: | andersca, bunhere, cdumez, commit-queue, esprehn+autocc, gyuyoung.kim, kangil.han, kling | ||||||||
| Priority: | P2 | ||||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Attachments: |
|
||||||||||
|
Description
BJ Burg
2014-01-31 16:55:50 PST
Created attachment 222971 [details]
EWS round one fight
Attachment 222971 [details] did not pass style-queue:
ERROR: Source/WebCore/page/DragController.cpp:98: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1645: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4]
ERROR: Source/WebCore/dom/KeyboardEvent.cpp:39: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4]
Total errors found: 3 in 50 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 222996 [details]
EWS round two fight
Attachment 222996 [details] did not pass style-queue:
ERROR: Source/WebCore/page/DragController.cpp:98: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1645: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4]
Total errors found: 2 in 50 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 223003 [details]
round 3
Attachment 223003 [details] did not pass style-queue:
ERROR: Source/WebCore/page/DragController.cpp:98: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3]
ERROR: Source/WebKit2/WebProcess/WebPage/WebPage.cpp:1645: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4]
Total errors found: 2 in 50 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Patch looks OK, but I actually prefer PlatformEvent::Type::Foo. (In reply to comment #7) > Patch looks OK, but I actually prefer PlatformEvent::Type::Foo. I can switch back if that's the preferred style here. I had originally moved it outside the class so it could be forward declared. |