Use is<>() / downcast<>() for Element instead of isElementNode() / toElement().
Created attachment 238900 [details] Patch
Attachment 238900 [details] did not pass style-queue: ERROR: Source/WebCore/html/HTMLFormControlElement.h:195: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/html/HTMLMediaElement.h:914: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/html/HTMLTextFormControlElement.h:156: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/editing/CompositeEditCommand.cpp:1352: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 4 in 108 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 238901 [details] Patch
Attachment 238901 [details] did not pass style-queue: ERROR: Source/WebCore/html/HTMLFormControlElement.h:195: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/html/HTMLMediaElement.h:914: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/html/HTMLTextFormControlElement.h:156: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/editing/CompositeEditCommand.cpp:1352: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 4 in 108 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 238905 [details] Patch
Attachment 238905 [details] did not pass style-queue: ERROR: Source/WebCore/html/HTMLFormControlElement.h:195: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/html/HTMLMediaElement.h:914: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/html/HTMLTextFormControlElement.h:156: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebCore/editing/CompositeEditCommand.cpp:1352: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 4 in 108 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 238905 [details] Patch r=me
Comment on attachment 238905 [details] Patch Clearing flags on attachment: 238905 Committed r174117: <http://trac.webkit.org/changeset/174117>
All reviewed patches have been landed. Closing bug.