Bug 209381

Summary: [LFC] Layout::Box::containingBlock should return a const ContainerBox&
Product: WebKit Reporter: zalan <zalan>
Component: Layout and RenderingAssignee: zalan <zalan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, koivisto, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description zalan 2020-03-21 17:41:37 PDT
and not const ContainerBox*

Layout tree is immutable during layout, so it's guaranteed to have a valid containing block.
Comment 1 Radar WebKit Bug Importer 2020-03-21 17:41:55 PDT
<rdar://problem/60732278>
Comment 2 zalan 2020-03-21 18:38:42 PDT
Created attachment 394188 [details]
Patch
Comment 3 Antti Koivisto 2020-03-22 06:49:42 PDT
Comment on attachment 394188 [details]
Patch

nice
Comment 4 EWS 2020-03-22 07:02:44 PDT
Committed r258819: <https://trac.webkit.org/changeset/258819>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 394188 [details].