mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 21:38:11 +00:00
Ladybird: Pass Gfx::IntSize by value
This commit is contained in:
parent
88667ce9f0
commit
4709f5961b
2 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue