WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
137641
Use is<>() / downcast<>() for Table render objects
https://bugs.webkit.org/show_bug.cgi?id=137641
Summary
Use is<>() / downcast<>() for Table render objects
Chris Dumez
Reported
2014-10-11 17:49:59 PDT
Use is<>() / downcast<>() for Table render objects.
Attachments
Patch
(71.38 KB, patch)
2014-10-11 17:58 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(71.72 KB, patch)
2014-10-13 10:24 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2014-10-11 17:58:22 PDT
Created
attachment 239692
[details]
Patch
WebKit Commit Bot
Comment 2
2014-10-11 17:59:23 PDT
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.
Mihnea Ovidenie
Comment 3
2014-10-13 08:04:52 PDT
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?
Chris Dumez
Comment 4
2014-10-13 10:22:35 PDT
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.
Chris Dumez
Comment 5
2014-10-13 10:24:28 PDT
Created
attachment 239731
[details]
Patch
WebKit Commit Bot
Comment 6
2014-10-13 10:27:24 PDT
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.
WebKit Commit Bot
Comment 7
2014-10-13 11:21:12 PDT
Comment on
attachment 239731
[details]
Patch Clearing flags on attachment: 239731 Committed
r174653
: <
http://trac.webkit.org/changeset/174653
>
WebKit Commit Bot
Comment 8
2014-10-13 11:21:17 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug