mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:07:44 +00:00
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
This commit is contained in:
parent
e011eafd37
commit
27fae78335
63 changed files with 142 additions and 142 deletions
|
@ -188,7 +188,7 @@ bool Window::apply_minimum_size(Gfx::IntRect& rect)
|
|||
return did_size_clamp;
|
||||
}
|
||||
|
||||
void Window::set_minimum_size(Gfx::IntSize const& size)
|
||||
void Window::set_minimum_size(Gfx::IntSize size)
|
||||
{
|
||||
VERIFY(size.width() >= 0 && size.height() >= 0);
|
||||
if (m_minimum_size == size)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue