mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Ladybird: Pass Gfx::IntSize by value
This commit is contained in:
parent
88667ce9f0
commit
4709f5961b
Notes:
sideshowbarker
2024-07-17 04:32:07 +09:00
Author: https://github.com/MacDue
Commit: 4709f5961b
Pull-request: https://github.com/SerenityOS/serenity/pull/16583
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/linusg
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