RESOLVED FIXED 179272
LayoutState should take RenderBox reference.
https://bugs.webkit.org/show_bug.cgi?id=179272
Summary LayoutState should take RenderBox reference.
zalan
Reported 2017-11-03 15:52:59 PDT
instead of RenderBox*
Attachments
Patch (13.89 KB, patch)
2017-11-03 16:19 PDT, zalan
no flags
Patch (13.35 KB, patch)
2017-11-03 18:50 PDT, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2017-11-03 15:53:23 PDT
zalan
Comment 2 2017-11-03 16:19:14 PDT
Simon Fraser (smfr)
Comment 3 2017-11-03 16:21:17 PDT
Comment on attachment 325984 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=325984&action=review > Source/WebCore/rendering/LayoutState.h:124 > - RenderObject* m_renderer { nullptr }; > + RenderElement* m_root { nullptr }; Isn't this the current renderer (the one associated with this state), not the root?
zalan
Comment 4 2017-11-03 18:46:33 PDT
(In reply to Simon Fraser (smfr) from comment #3) > Comment on attachment 325984 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=325984&action=review > > > Source/WebCore/rendering/LayoutState.h:124 > > - RenderObject* m_renderer { nullptr }; > > + RenderElement* m_root { nullptr }; > > Isn't this the current renderer (the one associated with this state), not > the root? It's the root of the LayoutState, but it indeed could be confusing. I'll revert it back to renderer.
zalan
Comment 5 2017-11-03 18:50:17 PDT
WebKit Commit Bot
Comment 6 2017-11-03 22:40:26 PDT
Comment on attachment 325999 [details] Patch Clearing flags on attachment: 325999 Committed r224455: <https://trac.webkit.org/changeset/224455>
WebKit Commit Bot
Comment 7 2017-11-03 22:40:27 PDT
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.