mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-22 17:24:48 -05:00
LibWeb: Do not pass cheap-to-copy enums by reference
This commit is contained in:
parent
6f81b80114
commit
399af2416a
Notes:
github-actions[bot]
2024-12-09 12:56:01 +00:00
Author: https://github.com/shlyakpavel Commit: https://github.com/LadybirdBrowser/ladybird/commit/399af2416ae Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2658 Reviewed-by: https://github.com/trflynn89 Reviewed-by: https://github.com/yyny
1 changed files with 2 additions and 2 deletions
|
@ -837,10 +837,10 @@ public:
|
|||
void set_grid_row_start(CSS::GridTrackPlacement value) { m_noninherited.grid_row_start = value; }
|
||||
void set_column_count(CSS::ColumnCount value) { m_noninherited.column_count = value; }
|
||||
void set_column_gap(Variant<LengthPercentage, NormalGap> const& column_gap) { m_noninherited.column_gap = column_gap; }
|
||||
void set_column_span(CSS::ColumnSpan const& column_span) { m_noninherited.column_span = column_span; }
|
||||
void set_column_span(CSS::ColumnSpan const column_span) { m_noninherited.column_span = column_span; }
|
||||
void set_column_width(CSS::Size const& column_width) { m_noninherited.column_width = column_width; }
|
||||
void set_row_gap(Variant<LengthPercentage, NormalGap> const& row_gap) { m_noninherited.row_gap = row_gap; }
|
||||
void set_border_collapse(CSS::BorderCollapse const& border_collapse) { m_inherited.border_collapse = border_collapse; }
|
||||
void set_border_collapse(CSS::BorderCollapse const border_collapse) { m_inherited.border_collapse = border_collapse; }
|
||||
void set_grid_template_areas(Vector<Vector<String>> const& grid_template_areas) { m_noninherited.grid_template_areas = grid_template_areas; }
|
||||
void set_grid_auto_flow(CSS::GridAutoFlow grid_auto_flow) { m_noninherited.grid_auto_flow = grid_auto_flow; }
|
||||
void set_transition_delay(CSS::Time const& transition_delay) { m_noninherited.transition_delay = transition_delay; }
|
||||
|
|
Loading…
Reference in a new issue