mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Merge Document::layout() and Document::update_layout()
There is now only Document::update_layout().
This commit is contained in:
@@ -102,7 +102,7 @@ void PageHost::set_viewport_rect(const Gfx::IntRect& rect)
|
||||
{
|
||||
page().main_frame().set_size(rect.size());
|
||||
if (page().main_frame().document())
|
||||
page().main_frame().document()->layout();
|
||||
page().main_frame().document()->update_layout();
|
||||
page().main_frame().set_viewport_scroll_offset(rect.location());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user