⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 285925 in webkit


Ignore:
Timestamp:
Nov 17, 2021, 6:19:54 AM (5 years ago)
Author:
Alan Bujtas
Message:

[IFC][Integration] Clear the preferredLogicalWidths dirty bits after calling LineLayout::computeIntrinsicWidthConstraints
https://bugs.webkit.org/show_bug.cgi?id=233201

Reviewed by Antti Koivisto.

This is in preparation for enabling preferred width computation through IFC.

  • rendering/RenderBlockFlow.cpp:

(WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingModernPath):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r285923 r285925  
     12021-11-17  Alan Bujtas  <zalan@apple.com>
     2
     3        [IFC][Integration] Clear the preferredLogicalWidths dirty bits after calling LineLayout::computeIntrinsicWidthConstraints
     4        https://bugs.webkit.org/show_bug.cgi?id=233201
     5
     6        Reviewed by Antti Koivisto.
     7
     8        This is in preparation for enabling preferred width computation through IFC.
     9
     10        * rendering/RenderBlockFlow.cpp:
     11        (WebCore::RenderBlockFlow::tryComputePreferredWidthsUsingModernPath):
     12
    1132021-11-17  Rob Buis  <rbuis@igalia.com>
    214
  • trunk/Source/WebCore/rendering/RenderBlockFlow.cpp

    r285615 r285925  
    45784578
    45794579    std::tie(minLogicalWidth, maxLogicalWidth) = modernLineLayout()->computeIntrinsicWidthConstraints();
     4580    for (auto walker = InlineWalker(*this); !walker.atEnd(); walker.advance())
     4581        walker.current()->setPreferredLogicalWidthsDirty(false);
     4582    return true;
    45804583    return true;
    45814584#else
Note: See TracChangeset for help on using the changeset viewer.