mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 15:16:14 +00:00
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
This commit is contained in:
@@ -158,7 +158,7 @@ void TabWidget::resize_event(ResizeEvent& event)
|
||||
m_active_widget->set_relative_rect(child_rect_for_size(event.size()));
|
||||
}
|
||||
|
||||
Gfx::IntRect TabWidget::child_rect_for_size(Gfx::IntSize const& size) const
|
||||
Gfx::IntRect TabWidget::child_rect_for_size(Gfx::IntSize size) const
|
||||
{
|
||||
Gfx::IntRect rect;
|
||||
switch (m_tab_position) {
|
||||
|
||||
Reference in New Issue
Block a user