[webkit-changes] [WebKit/WebKit] 40103c: [Cleanup] Rename RenderBox::containingBlockLogical...

Alan Baradlay noreply at github.com
Mon Dec 30 14:33:23 PST 2024


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

  Changed paths:
    M Source/WebCore/rendering/GridLayoutFunctions.cpp
    M Source/WebCore/rendering/RenderBlock.h
    M Source/WebCore/rendering/RenderBox.cpp
    M Source/WebCore/rendering/RenderBox.h
    M Source/WebCore/rendering/RenderFlexibleBox.cpp
    M Source/WebCore/rendering/RenderTable.cpp

  Log Message:
  -----------
  [Cleanup] Rename RenderBox::containingBlockLogicalWidthForContentInFragment to containingBlockAvailableLineWidth
https://bugs.webkit.org/show_bug.cgi?id=285198

Reviewed by Antti Koivisto.

No one calls containingBlockLogicalWidthForContentInFragment with a non-null fragment.
-also containingBlockLogicalWidthForContentInFragment is just containingBlockLogicalWidthForContent now.

* Source/WebCore/rendering/GridLayoutFunctions.cpp:
(WebCore::GridLayoutFunctions::computeMarginLogicalSizeForGridItem):
* Source/WebCore/rendering/RenderBlock.h:
(WebCore::RenderBlock::availableLogicalWidthForLineInFragment const):
* Source/WebCore/rendering/RenderBox.cpp:
(WebCore::RenderBox::containingBlockAvailableLineWidth const):
(WebCore::RenderBox::computeLogicalWidth const):
(WebCore::RenderBox::containingBlockLogicalWidthForContentInFragment const): Deleted.
(WebCore::RenderBox::containingBlockAvailableLineWidthInFragment const): Deleted.
* Source/WebCore/rendering/RenderBox.h:
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::mainAxisMarginExtentForFlexItem const):
(WebCore::RenderFlexibleBox::crossAxisMarginExtentForFlexItem const):
* Source/WebCore/rendering/RenderTable.cpp:
(WebCore::RenderTable::updateLogicalWidth):

Canonical link: https://commits.webkit.org/288335@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