mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
Notes:
sideshowbarker
2024-07-17 16:21:09 +09:00
Author: https://github.com/IdanHo
Commit: 086969277e
Pull-request: https://github.com/SerenityOS/serenity/pull/12321
Reviewed-by: https://github.com/BertalanD
Reviewed-by: https://github.com/bgianfo ✅
1665 changed files with 8479 additions and 8479 deletions
|
@ -148,7 +148,7 @@ void Card::draw(GUI::Painter& painter) const
|
|||
painter.blit(position(), m_upside_down ? *s_background : *m_front, m_front->rect());
|
||||
}
|
||||
|
||||
void Card::clear(GUI::Painter& painter, const Color& background_color) const
|
||||
void Card::clear(GUI::Painter& painter, Color const& background_color) const
|
||||
{
|
||||
painter.fill_rect({ old_position(), { width, height } }, background_color);
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ void Card::save_old_position()
|
|||
m_old_position_valid = true;
|
||||
}
|
||||
|
||||
void Card::clear_and_draw(GUI::Painter& painter, const Color& background_color)
|
||||
void Card::clear_and_draw(GUI::Painter& painter, Color const& background_color)
|
||||
{
|
||||
if (is_old_position_valid())
|
||||
clear(painter, background_color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue