diff options
author | MacDue <macdue@dueutil.tech> | 2022-12-06 21:35:32 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-07 11:48:27 +0100 |
commit | 27fae783359ece05400dcbee66c50fee97cd1b0b (patch) | |
tree | 7918baf077884d287a8dce3ad7ccad9f9d1aaaf0 /Userland/Applications/Browser/Tab.cpp | |
parent | e011eafd3790ca0375a4678a9cb2debd0ae95ac7 (diff) | |
download | serenity-27fae783359ece05400dcbee66c50fee97cd1b0b.zip |
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
Diffstat (limited to 'Userland/Applications/Browser/Tab.cpp')
-rw-r--r-- | Userland/Applications/Browser/Tab.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/Browser/Tab.cpp b/Userland/Applications/Browser/Tab.cpp index 38203900df..db097a87eb 100644 --- a/Userland/Applications/Browser/Tab.cpp +++ b/Userland/Applications/Browser/Tab.cpp @@ -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); } |