[webkit-reviews] review granted: [Bug 222704] [LFC][IFC] Make LineBox::m_inlineLevelBoxRectMap a non-root inline level box map : [Attachment 422174] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 3 21:21:03 PST 2021


Antti Koivisto <koivisto at iki.fi> has granted zalan <zalan at apple.com>'s request
for review:
Bug 222704: [LFC][IFC] Make LineBox::m_inlineLevelBoxRectMap a non-root inline
level box map
https://bugs.webkit.org/show_bug.cgi?id=222704

Attachment 422174: Patch

https://bugs.webkit.org/attachment.cgi?id=422174&action=review




--- Comment #2 from Antti Koivisto <koivisto at iki.fi> ---
Comment on attachment 422174
  --> https://bugs.webkit.org/attachment.cgi?id=422174
Patch

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

> Source/WebCore/layout/inlineformatting/InlineLineBox.cpp:92
> -    m_inlineLevelBoxRectMap.reserveInitialCapacity(numberOfRuns);
> -    m_inlineLevelBoxRectMap.set(&rootLayoutBox, &m_rootInlineBox);
> +    m_nonRootInlineLevelBoxMap.reserveInitialCapacity(numberOfRuns);

Does it need one less capacity now?


More information about the webkit-reviews mailing list