RESOLVED FIXED 133988
Use strongly typed enums for AnimationState and AnimationInputState
https://bugs.webkit.org/show_bug.cgi?id=133988
Summary Use strongly typed enums for AnimationState and AnimationInputState
Anders Carlsson
Reported 2014-06-17 11:37:47 PDT
Use strongly typed enums for AnimationState and AnimationInputState
Attachments
Patch (52.58 KB, patch)
2014-06-17 12:33 PDT, Anders Carlsson
thorton: review+
thorton: commit-queue-
Anders Carlsson
Comment 1 2014-06-17 12:33:11 PDT
WebKit Commit Bot
Comment 2 2014-06-17 12:34:43 PDT
Attachment 233249 [details] did not pass style-queue: ERROR: Source/WebCore/page/animation/AnimationBase.cpp:200: A case label should not be indented, but line up with its switch statement. [whitespace/indent] [4] ERROR: Source/WebCore/page/animation/AnimationBase.h:72: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:73: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:74: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:75: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:76: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:77: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:78: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:79: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:80: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:81: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:82: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:83: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:84: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:88: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:89: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:90: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:91: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:92: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:93: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:94: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:95: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:96: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:97: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:98: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:99: One space before end of line comments [whitespace/comments] [5] ERROR: Source/WebCore/page/animation/AnimationBase.h:100: One space before end of line comments [whitespace/comments] [5] Total errors found: 27 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 3 2014-06-17 12:48:45 PDT
Comment on attachment 233249 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=233249&action=review > Source/WebCore/page/animation/AnimationBase.h:87 > + enum AnimationStateInput { where's the "class"?
Anders Carlsson
Comment 4 2014-06-17 13:19:41 PDT
Note You need to log in before you can comment on or make changes to this bug.