Use is<>() / downcast<>() for Table render objects.
Created attachment 239692 [details] Patch
Attachment 239692 [details] did not pass style-queue: ERROR: Source/WebCore/rendering/RenderTreeAsText.cpp:470: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebCore/rendering/RenderTreeAsText.cpp:492: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 2 in 25 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 239692 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239692&action=review r=me with the two comments > Source/WebCore/rendering/AutoTableLayout.cpp:192 > + RenderBlock* renderBlock = table->containingBlock(); I believe containingBlock is better than renderBlock here if you want to change it from cb. > Source/WebCore/rendering/RenderTableCol.cpp:33 > +#include "RenderTableCaption.h" Is this include needed?
Comment on attachment 239692 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239692&action=review >> Source/WebCore/rendering/AutoTableLayout.cpp:192 >> + RenderBlock* renderBlock = table->containingBlock(); > > I believe containingBlock is better than renderBlock here if you want to change it from cb. Sounds good. >> Source/WebCore/rendering/RenderTableCol.cpp:33 >> +#include "RenderTableCaption.h" > > Is this include needed? Yes, see below. > Source/WebCore/rendering/RenderTableCol.cpp:174 > + if (is<RenderTableCaption>(*next)) The include is needed because of this check. RenderTableCaption type and its template specialization need to be defined.
Created attachment 239731 [details] Patch
Attachment 239731 [details] did not pass style-queue: ERROR: Source/WebCore/rendering/RenderTreeAsText.cpp:470: Multi line control clauses should use braces. [whitespace/braces] [4] ERROR: Source/WebCore/rendering/RenderTreeAsText.cpp:492: Multi line control clauses should use braces. [whitespace/braces] [4] Total errors found: 2 in 25 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 239731 [details] Patch Clearing flags on attachment: 239731 Committed r174653: <http://trac.webkit.org/changeset/174653>
All reviewed patches have been landed. Closing bug.