mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:37:35 +00:00
LibWeb: Merge Document::layout() and Document::update_layout()
There is now only Document::update_layout().
This commit is contained in:
parent
dbfce38c90
commit
3c9dcec442
5 changed files with 6 additions and 15 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue