RESOLVED FIXED 141668
RenderTableRow should check if it has access to its ancestor chain.
https://bugs.webkit.org/show_bug.cgi?id=141668
Summary RenderTableRow should check if it has access to its ancestor chain.
zalan
Reported 2015-02-16 15:05:23 PST
It might be in detached state.
Attachments
Patch (4.65 KB, patch)
2015-02-16 15:08 PST, zalan
no flags
Patch (4.93 KB, patch)
2015-02-16 15:37 PST, zalan
no flags
Patch (4.93 KB, patch)
2015-02-16 15:50 PST, zalan
no flags
zalan
Comment 1 2015-02-16 15:08:59 PST
Andreas Kling
Comment 2 2015-02-16 15:11:06 PST
Comment on attachment 246687 [details] Patch r=me
Chris Dumez
Comment 3 2015-02-16 15:14:39 PST
Comment on attachment 246687 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246687&action=review r=me % nits. > Source/WebCore/rendering/RenderTableRow.h:46 > + RenderTable* table() const Now that this is no longer a one-liner, we may want to move it outside the class and mark it as inline. > Source/WebCore/rendering/RenderTableRow.h:121 > + RenderTableSection* section() const { return downcast<RenderTableSection>(parent()); } Even though they are no outside callers now, I could imagine this getter being useful. Why not keep it public?
Chris Dumez
Comment 4 2015-02-16 15:15:10 PST
Andreas beat me to it :)
zalan
Comment 5 2015-02-16 15:32:55 PST
(In reply to comment #3) > Comment on attachment 246687 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=246687&action=review > > r=me % nits. > > > Source/WebCore/rendering/RenderTableRow.h:46 > > + RenderTable* table() const > > Now that this is no longer a one-liner, we may want to move it outside the > class and mark it as inline. > Sure. > > Source/WebCore/rendering/RenderTableRow.h:121 > > + RenderTableSection* section() const { return downcast<RenderTableSection>(parent()); } > > Even though they are no outside callers now, I could imagine this getter > being useful. Why not keep it public? I prefer the not public until required policy.
zalan
Comment 6 2015-02-16 15:37:24 PST
zalan
Comment 7 2015-02-16 15:50:21 PST
WebKit Commit Bot
Comment 8 2015-02-16 17:02:27 PST
Comment on attachment 246692 [details] Patch Clearing flags on attachment: 246692 Committed r180190: <http://trac.webkit.org/changeset/180190>
WebKit Commit Bot
Comment 9 2015-02-16 17:02:34 PST
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.