mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:17:34 +00:00
LibWeb: Remove get_count_of_tracks()
in GFC
This method is not needed, as we calculate the number of tracks in the first step of grid layout by expanding the track definitions.
This commit is contained in:
parent
a32046ea50
commit
042d3b79c2
2 changed files with 15 additions and 31 deletions
|
@ -245,7 +245,6 @@ private:
|
|||
Optional<int> get_line_index_by_line_name(GridDimension dimension, String const&);
|
||||
CSSPixels resolve_definite_track_size(CSS::GridSize const&, AvailableSpace const&);
|
||||
int count_of_repeated_auto_fill_or_fit_tracks(Vector<CSS::ExplicitGridTrack> const& track_list);
|
||||
int get_count_of_tracks(Vector<CSS::ExplicitGridTrack> const&);
|
||||
|
||||
void build_grid_areas();
|
||||
|
||||
|
@ -255,7 +254,7 @@ private:
|
|||
void place_item_with_column_position(Box const& child_box, int& auto_placement_cursor_x, int& auto_placement_cursor_y);
|
||||
void place_item_with_no_declared_position(Box const& child_box, int& auto_placement_cursor_x, int& auto_placement_cursor_y);
|
||||
|
||||
void initialize_grid_tracks_from_definition(Vector<CSS::ExplicitGridTrack> const& tracks_definition, Vector<GridTrack>& tracks);
|
||||
void initialize_grid_tracks_from_definition(GridDimension);
|
||||
void initialize_grid_tracks_for_columns_and_rows();
|
||||
void initialize_gap_tracks(AvailableSpace const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue