mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-27 21:42:53 +00:00
Everywhere: Use east const in more places
These changes are compatible with clang-format 16 and will be mandatory when we eventually bump clang-format version. So, since there are no real downsides, let's commit them now.
This commit is contained in:
parent
5ef6df79ed
commit
5ed7cd6e32
Notes:
sideshowbarker
2024-07-16 23:38:54 +09:00
Author: https://github.com/DanShaders
Commit: 5ed7cd6e32
Pull-request: https://github.com/SerenityOS/serenity/pull/24014
175 changed files with 353 additions and 353 deletions
|
@ -639,7 +639,7 @@ void TableFormattingContext::distribute_width_to_columns()
|
|||
|
||||
// The assignable table width is the used width of the table minus the total horizontal border spacing (if any).
|
||||
// This is the width that we will be able to allocate to the columns.
|
||||
const CSSPixels available_width = m_state.get(table_box()).content_width() - total_horizontal_border_spacing;
|
||||
CSSPixels const available_width = m_state.get(table_box()).content_width() - total_horizontal_border_spacing;
|
||||
|
||||
Vector<CSSPixels> candidate_widths;
|
||||
candidate_widths.resize(m_columns.size());
|
||||
|
@ -1218,7 +1218,7 @@ const CSS::BorderData& TableFormattingContext::border_data_conflicting_edge(Tabl
|
|||
}
|
||||
}
|
||||
|
||||
const Painting::PaintableBox::BorderDataWithElementKind TableFormattingContext::border_data_with_element_kind_from_conflicting_edge(ConflictingEdge const& conflicting_edge)
|
||||
Painting::PaintableBox::BorderDataWithElementKind const TableFormattingContext::border_data_with_element_kind_from_conflicting_edge(ConflictingEdge const& conflicting_edge)
|
||||
{
|
||||
auto const& border_data = border_data_conflicting_edge(conflicting_edge);
|
||||
return { .border_data = border_data, .element_kind = conflicting_edge.element_kind };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue