1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 19:38:12 +00:00

Ladybird: Pass Gfx::IntSize by value

This commit is contained in:
MacDue 2022-12-06 21:58:17 +00:00 committed by Andrew Kaster
parent 88667ce9f0
commit 4709f5961b
2 changed files with 5 additions and 5 deletions

View file

@ -722,7 +722,7 @@ void WebContentView::notify_server_did_request_cursor_change(Badge<WebContentCli
}
}
void WebContentView::notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize const& content_size)
void WebContentView::notify_server_did_layout(Badge<WebContentClient>, Gfx::IntSize content_size)
{
verticalScrollBar()->setMinimum(0);
verticalScrollBar()->setMaximum(content_size.height() - m_viewport_rect.height());
@ -996,7 +996,7 @@ Gfx::IntPoint WebContentView::notify_server_did_request_reposition_window(Gfx::I
return emit reposition_window(position);
}
Gfx::IntSize WebContentView::notify_server_did_request_resize_window(Gfx::IntSize const& size)
Gfx::IntSize WebContentView::notify_server_did_request_resize_window(Gfx::IntSize size)
{
return emit resize_window(size);
}