Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9708c58850420957a977e733e8dd1c43b110765d
      
https://github.com/WebKit/WebKit/commit/9708c58850420957a977e733e8dd1c43b110765d
  Author: Sammy Gill <[email protected]>
  Date:   2025-05-08 (Thu, 08 May 2025)

  Changed paths:
    M 
Source/WebCore/SaferCPPExpectations/NoUncheckedPtrMemberCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    A Source/WebCore/rendering/FlexLineBuilder.cpp
    A Source/WebCore/rendering/FlexLineBuilder.h
    R Source/WebCore/rendering/FlexibleBoxAlgorithm.cpp
    R Source/WebCore/rendering/FlexibleBoxAlgorithm.h
    M Source/WebCore/rendering/RenderFlexibleBox.cpp
    M Source/WebCore/rendering/RenderFlexibleBox.h

  Log Message:
  -----------
  [Flex] Rename FlexibleBoxAlgorithm to FlexLineBuilder
https://bugs.webkit.org/show_bug.cgi?id=292731
rdar://150944434

Reviewed by Vitor Roriz and Alan Baradlay.

The name FlexibleBoxAlgorithm/FlexLayoutAlgorithm is very broad. The
flex layout algorithm as defined in the spec consists of various steps
such as computing flex item base sizes, creating flex lines, computing
cross sizes, etc. This class however simply builds up flex lines so
let's rename it to reflect that.

* Source/WebCore/SaferCPPExpectations/NoUncheckedPtrMemberCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations:
* Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/rendering/FlexLineBuilder.cpp: Renamed from 
Source/WebCore/rendering/FlexibleBoxAlgorithm.cpp.
(WebCore::FlexLayoutItem::FlexLayoutItem):
(WebCore::FlexLineBuilder::FlexLineBuilder):
(WebCore::FlexLineBuilder::canFitItemWithTrimmedMarginEnd const):
(WebCore::FlexLineBuilder::removeMarginEndFromFlexSizes const):
(WebCore::FlexLineBuilder::computeNextFlexLine):
(WebCore::FlexLayoutItem::constrainSizeByMinMax const):
* Source/WebCore/rendering/FlexLineBuilder.h: Renamed from 
Source/WebCore/rendering/FlexibleBoxAlgorithm.h.
(WebCore::FlexLayoutItem::hypotheticalMainAxisMarginBoxSize const):
(WebCore::FlexLayoutItem::flexBaseMarginBoxSize const):
(WebCore::FlexLayoutItem::flexedMarginBoxSize const):
(WebCore::FlexLayoutItem::style const):
(WebCore::FlexLineBuilder::isMultiline const):
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::performFlexLayout):
* Source/WebCore/rendering/RenderFlexibleBox.h:

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to