[webkit-changes] [WebKit/WebKit] 4f9c5c: [Cleanup] Rename RenderBox::constrainLogicalWidthI...

Alan Baradlay noreply at github.com
Mon Dec 30 10:03:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4f9c5cf924ce1a8eae86bbf96e7df5222a99c4de
      https://github.com/WebKit/WebKit/commit/4f9c5cf924ce1a8eae86bbf96e7df5222a99c4de
  Author: Alan Baradlay <zalan at apple.com>
  Date:   2024-12-30 (Mon, 30 Dec 2024)

  Changed paths:
    M Source/WebCore/rendering/GridTrackSizingAlgorithm.cpp
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/RenderBox.h
    M Source/WebCore/rendering/RenderFlexibleBox.cpp
    M Source/WebCore/rendering/RenderGrid.cpp

  Log Message:
  -----------
  [Cleanup] Rename RenderBox::constrainLogicalWidthInFragmentByMinMax to constrainLogicalWidthByMinMax
https://bugs.webkit.org/show_bug.cgi?id=285192

Reviewed by Antti Koivisto.

No one calls this function with a non-null fragment.

* Source/WebCore/rendering/GridTrackSizingAlgorithm.cpp:
(WebCore::GridTrackSizingAlgorithmStrategy::minContentContributionForGridItem const):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::constrainLogicalWidthByMinMax const):
(WebCore::RenderBox::computeLogicalWidth const):
(WebCore::RenderBox::computeLogicalWidthFromAspectRatio const):
(WebCore::RenderBox::constrainLogicalWidthInFragmentByMinMax const): Deleted.
* Source/WebCore/rendering/RenderBox.h:
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::applyStretchAlignmentToFlexItem):
* Source/WebCore/rendering/RenderGrid.cpp:
(WebCore::RenderGrid::applyStretchAlignmentToGridItemIfNeeded):

Canonical link: https://commits.webkit.org/288330@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list