Bug 188912

Summary: [LFC][Floating] Simplify FloatingState::FloatItem class
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 koivisto: review+

Description zalan 2018-08-23 19:09:28 PDT
now that we've got a dedicated class for incoming floats.
Comment 1 zalan 2018-08-23 19:19:18 PDT
Created attachment 347984 [details]
Patch
Comment 2 Simon Fraser (smfr) 2018-08-24 10:37:07 PDT
Comment on attachment 347984 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=347984&action=review

> Source/WebCore/layout/floats/FloatingContext.cpp:68
> +    const FloatingState::FloatItem* left() const;
> +    const FloatingState::FloatItem* right() const;

"FloatItem" is a weird name. "Item" doesn't tell me what type it is, and we don't use "item" in other rendering code.
Comment 3 zalan 2018-08-24 11:21:19 PDT
(In reply to Simon Fraser (smfr) from comment #2)
> Comment on attachment 347984 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=347984&action=review
> 
> > Source/WebCore/layout/floats/FloatingContext.cpp:68
> > +    const FloatingState::FloatItem* left() const;
> > +    const FloatingState::FloatItem* right() const;
> 
> "FloatItem" is a weird name. "Item" doesn't tell me what type it is, and we
> don't use "item" in other rendering code.
I am planning to rename it in an upcoming patch.
Comment 4 zalan 2018-08-26 21:03:31 PDT
Committed r235350: <https://trac.webkit.org/changeset/235350>
Comment 5 Radar WebKit Bug Importer 2018-08-26 21:04:17 PDT
<rdar://problem/43741775>