Summary: | [CSS Regions] Move specific named flow methods from RenderRegion to RenderNamedFlowFragment | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Radu Stavila <stavila> | ||||||||
Component: | CSS | Assignee: | Radu Stavila <stavila> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser, WebkitBugTracker | ||||||||
Priority: | P2 | Keywords: | AdobeTracked | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 57312 | ||||||||||
Attachments: |
|
Description
Radu Stavila
2014-02-17 09:19:34 PST
Created attachment 224423 [details]
Patch
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? Created attachment 224425 [details]
Patch integrating feedback
Created attachment 224441 [details]
Rebase
Comment on attachment 224441 [details] Rebase Clearing flags on attachment: 224441 Committed r164275: <http://trac.webkit.org/changeset/164275> |