mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +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
|
@ -277,7 +277,7 @@ Tab::Tab(BrowserWindow& window)
|
|||
return this->window().position();
|
||||
};
|
||||
|
||||
view().on_resize_window = [this](Gfx::IntSize const& size) {
|
||||
view().on_resize_window = [this](Gfx::IntSize size) {
|
||||
this->window().resize(size);
|
||||
return this->window().size();
|
||||
};
|
||||
|
@ -619,7 +619,7 @@ void Tab::window_position_changed(Gfx::IntPoint position)
|
|||
m_web_content_view->set_window_position(position);
|
||||
}
|
||||
|
||||
void Tab::window_size_changed(Gfx::IntSize const& size)
|
||||
void Tab::window_size_changed(Gfx::IntSize size)
|
||||
{
|
||||
m_web_content_view->set_window_size(size);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue