Skip to content

Commit

Permalink
[masonry] Remove unused function itemGridAreaStartsAtFirstLine
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=267767
rdar://problem/121259639

Reviewed by Sammy Gill.

Remove unused function. It is not needed anymore.

* Source/WebCore/rendering/GridMasonryLayout.h:
(WebCore::GridMasonryLayout::itemGridAreaStartsAtFirstLine): Deleted.

Canonical link: https://commits.webkit.org/273226@main
  • Loading branch information
stwrt authored and JonWBedard committed Jan 19, 2024
1 parent 9c0f02f commit 051dfdb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/WebCore/rendering/GridMasonryLayout.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ class GridMasonryLayout {
inline GridTrackSizingDirection gridAxisDirection() const;

bool hasDefiniteGridAxisPosition(const RenderBox& child, GridTrackSizingDirection masonryDirection) const;
static bool itemGridAreaStartsAtFirstLine(const GridArea& area, GridTrackSizingDirection masonryDirection)
{
return !(masonryDirection == GridTrackSizingDirection::ForRows ? area.rows.startLine() : area.columns.startLine());
}
GridArea masonryGridAreaFromGridAxisSpan(const GridSpan&) const;
GridSpan gridAxisSpanFromArea(const GridArea&) const;
bool hasEnoughSpaceAtPosition(unsigned startingPosition, unsigned spanLength) const;
Expand Down

0 comments on commit 051dfdb

Please sign in to comment.