mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:17:44 +00:00
LibWeb: Update Document::update_layout() to use navigables
This commit is contained in:
parent
6411fea552
commit
05cbc448b6
1 changed files with 2 additions and 2 deletions
|
@ -953,8 +953,8 @@ void Document::update_layout()
|
|||
|
||||
// NOTE: If our parent document needs a relayout, we must do that *first*.
|
||||
// This is necessary as the parent layout may cause our viewport to change.
|
||||
if (browsing_context() && browsing_context()->container())
|
||||
browsing_context()->container()->document().update_layout();
|
||||
if (navigable() && navigable()->container())
|
||||
navigable()->container()->document().update_layout();
|
||||
|
||||
update_style();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue