instead of looping through the inline content and computed them all over again.
<rdar://problem/72642850>
Created attachment 416736 [details] Patch
Created attachment 416737 [details] Patch
Comment on attachment 416737 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=416737&action=review > Source/WebCore/layout/inlineformatting/InlineFormattingContext.h:70 > + // For integration only. > + void collectInlineContentIfNeeded(); > + void lineLayout(InlineItems&, LineBuilder::InlineItemRange, const ConstraintsForInFlowContent&); Saying that these are "intergration only" is bit misleading since they are used internally in any case. They are just public for integration. Maybe these could stay private and there could be public 'lineLayoutForIntergration' or similar that calls them?
(In reply to Antti Koivisto from comment #4) > Comment on attachment 416737 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=416737&action=review > > > Source/WebCore/layout/inlineformatting/InlineFormattingContext.h:70 > > + // For integration only. > > + void collectInlineContentIfNeeded(); > > + void lineLayout(InlineItems&, LineBuilder::InlineItemRange, const ConstraintsForInFlowContent&); > > Saying that these are "intergration only" is bit misleading since they are > used internally in any case. They are just public for integration. > > Maybe these could stay private and there could be public > 'lineLayoutForIntergration' or similar that calls them? Yeah, I like that.
Created attachment 416757 [details] Patch
Committed r271085: <https://trac.webkit.org/changeset/271085> All reviewed patches have been landed. Closing bug and clearing flags on attachment 416757 [details].