From 9441515312c47187815ad2c8d23f1ded8026394a Mon Sep 17 00:00:00 2001 From: martinfalisse Date: Sun, 30 Oct 2022 12:53:49 +0100 Subject: [PATCH] LibWeb: Rename GridTrackSizedConstraints In order to avoid naming conflicts with the many trial-and-error name changes going on in the GridTrackSize file, rename this to a unique name that is unlikely to be troublesome. --- Userland/Libraries/LibWeb/Layout/GridFormattingContext.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Userland/Libraries/LibWeb/Layout/GridFormattingContext.h b/Userland/Libraries/LibWeb/Layout/GridFormattingContext.h index d54f554002..85a14b207b 100644 --- a/Userland/Libraries/LibWeb/Layout/GridFormattingContext.h +++ b/Userland/Libraries/LibWeb/Layout/GridFormattingContext.h @@ -26,7 +26,7 @@ private: bool is_auto_positioned_column(CSS::GridTrackPlacement const&, CSS::GridTrackPlacement const&) const; bool is_auto_positioned_track(CSS::GridTrackPlacement const&, CSS::GridTrackPlacement const&) const; - struct GridTrack { + struct GridTrackSizeConstraints { CSS::GridTrackSize min_track_sizing_function; CSS::GridTrackSize max_track_sizing_function; float base_size { 0 }; @@ -35,8 +35,8 @@ private: float planned_increase { 0 }; }; - Vector m_grid_rows; - Vector m_grid_columns; + Vector m_grid_rows; + Vector m_grid_columns; float get_free_space_x(Box const&); float get_free_space_y(Box const&);