summaryrefslogtreecommitdiff
path: root/Ladybird/WebContentView.cpp
diff options
context:
space:
mode:
authorMacDue <macdue@dueutil.tech>2022-12-06 21:58:17 +0000
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commit4709f5961b46df462a3838ff07608dc56f069b9e (patch)
tree37e65e4e43b07cdadeddbf6aab42ab688032455a /Ladybird/WebContentView.cpp
parent88667ce9f0539b52b174c962eb4f7865dec73d8b (diff)
downloadserenity-4709f5961b46df462a3838ff07608dc56f069b9e.zip
Ladybird: Pass Gfx::IntSize by value
Diffstat (limited to 'Ladybird/WebContentView.cpp')
-rw-r--r--Ladybird/WebContentView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ladybird/WebContentView.cpp b/Ladybird/WebContentView.cpp
index b59a524ac6..aa2bb9f8c0 100644
--- a/Ladybird/WebContentView.cpp
+++ b/Ladybird/WebContentView.cpp
@@ -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);
}