RESOLVED FIXED 128914
[CSS Regions] Move specific named flow methods from RenderRegion to RenderNamedFlowFragment
https://bugs.webkit.org/show_bug.cgi?id=128914
Summary [CSS Regions] Move specific named flow methods from RenderRegion to RenderNam...
Radu Stavila
Reported 2014-02-17 09:19:34 PST
Move the regionContainer and regionContainerLayer methods from RenderRegion to RenderNamedFlowFragment
Attachments
Patch (6.80 KB, patch)
2014-02-17 14:19 PST, Radu Stavila
koivisto: review+
Patch integrating feedback (6.85 KB, patch)
2014-02-17 14:41 PST, Radu Stavila
no flags
Rebase (8.89 KB, patch)
2014-02-17 15:44 PST, Radu Stavila
no flags
Radu Stavila
Comment 1 2014-02-17 14:19:45 PST
Antti Koivisto
Comment 2 2014-02-17 14:23:05 PST
Comment on attachment 224423 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=224423&action=review r=me > Source/WebCore/rendering/RenderNamedFlowFragment.cpp:195 > +RenderBlockFlow* RenderNamedFlowFragment::fragmentContainer() const > +{ > + ASSERT(parent() && parent()->isRenderNamedFlowFragmentContainer()); > + return toRenderBlockFlow(parent()); > +} Looks like this is never null. Could you return a reference? Please assert the conditions separately (makes seeing what failed easier). > Source/WebCore/rendering/RenderNamedFlowFragment.cpp:200 > +RenderLayer* RenderNamedFlowFragment::fragmentContainerLayer() const > +{ > + return fragmentContainer()->layer(); > +} Can this be null?
Radu Stavila
Comment 3 2014-02-17 14:41:16 PST
Created attachment 224425 [details] Patch integrating feedback
Radu Stavila
Comment 4 2014-02-17 15:44:12 PST
WebKit Commit Bot
Comment 5 2014-02-17 23:48:38 PST
Comment on attachment 224441 [details] Rebase Clearing flags on attachment: 224441 Committed r164275: <http://trac.webkit.org/changeset/164275>
Note You need to log in before you can comment on or make changes to this bug.