mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:57:35 +00:00
Meta+Userland: Pass Gfx::FloatSize by value
Just two floats like Gfx::FloatPoint.
This commit is contained in:
parent
27fae78335
commit
1574f2c3f6
8 changed files with 21 additions and 21 deletions
|
@ -60,7 +60,7 @@ void PaintableBox::set_offset(Gfx::FloatPoint offset)
|
|||
const_cast<Layout::Box&>(layout_box()).did_set_rect();
|
||||
}
|
||||
|
||||
void PaintableBox::set_content_size(Gfx::FloatSize const& size)
|
||||
void PaintableBox::set_content_size(Gfx::FloatSize size)
|
||||
{
|
||||
m_content_size = size;
|
||||
// FIXME: This const_cast is gross.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue