LibWeb: Merge Document::layout() and Document::update_layout()

There is now only Document::update_layout().
This commit is contained in:
Andreas Kling
2020-12-14 10:39:39 +01:00
parent dbfce38c90
commit 3c9dcec442
5 changed files with 6 additions and 15 deletions

View File

@@ -113,7 +113,7 @@ String HTMLElement::inner_text()
StringBuilder builder;
// innerText for element being rendered takes visibility into account, so force a layout and then walk the layout tree.
document().layout();
document().update_layout();
if (!layout_node())
return text_content();