Changeset 275585 in webkit


Ignore:
Timestamp:
Apr 6, 2021 7:53:44 PM (3 years ago)
Author:
Alan Bujtas
Message:

[LFC][IFC] InlineFormattingState::shrinkToFit should shrink InlineItems too
https://bugs.webkit.org/show_bug.cgi?id=224258

Reviewed by Simon Fraser.

  • layout/inlineformatting/InlineFormattingState.h:

(WebCore::Layout::InlineFormattingState::shrinkToFit):

  • layout/integration/LayoutIntegrationCoverage.cpp:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r275584 r275585  
     12021-04-06  Zalan Bujtas  <zalan@apple.com>
     2
     3        [LFC][IFC] InlineFormattingState::shrinkToFit should shrink InlineItems too
     4        https://bugs.webkit.org/show_bug.cgi?id=224258
     5
     6        Reviewed by Simon Fraser.
     7
     8        * layout/inlineformatting/InlineFormattingState.h:
     9        (WebCore::Layout::InlineFormattingState::shrinkToFit):
     10        * layout/integration/LayoutIntegrationCoverage.cpp:
     11
    1122021-04-06  Jean-Yves Avenard  <jya@apple.com>
    213
  • trunk/Source/WebCore/layout/inlineformatting/InlineFormattingState.h

    r271058 r275585  
    9696inline void InlineFormattingState::shrinkToFit()
    9797{
     98    m_inlineItems.shrinkToFit();
    9899    m_lines.shrinkToFit();
    99100    m_lineBoxes.shrinkToFit();
Note: See TracChangeset for help on using the changeset viewer.