Bug 137722

Summary: Use is<>() / downcast<>() for PlatformCAAnimation subclasses
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: PlatformAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 137056    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch none

Description Chris Dumez 2014-10-14 15:39:57 PDT
Use is<>() / downcast<>() for PlatformCAAnimation subclasses.
Comment 1 Chris Dumez 2014-10-14 16:14:35 PDT
Created attachment 239830 [details]
Patch
Comment 2 WebKit Commit Bot 2014-10-14 16:16:34 PDT
Attachment 239830 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/ca/win/PlatformCAAnimationWin.cpp:435:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm:398:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm:455:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm:541:  Multi line control clauses should use braces.  [whitespace/braces] [4]
Total errors found: 4 in 20 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Chris Dumez 2014-10-14 16:58:01 PDT
Created attachment 239834 [details]
Patch
Comment 4 WebKit Commit Bot 2014-10-14 17:00:18 PDT
Attachment 239834 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/graphics/ca/win/PlatformCAAnimationWin.cpp:435:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm:398:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm:455:  Multi line control clauses should use braces.  [whitespace/braces] [4]
ERROR: Source/WebCore/platform/graphics/ca/mac/PlatformCAAnimationMac.mm:541:  Multi line control clauses should use braces.  [whitespace/braces] [4]
Total errors found: 4 in 20 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 5 WebKit Commit Bot 2014-10-14 17:41:02 PDT
Comment on attachment 239834 [details]
Patch

Clearing flags on attachment: 239834

Committed r174715: <http://trac.webkit.org/changeset/174715>
Comment 6 WebKit Commit Bot 2014-10-14 17:41:06 PDT
All reviewed patches have been landed.  Closing bug.