LibWeb: Rename invalidate_layout() => invalidate_layout_tree()

I believe this is slightly less confusing, since what the function does
is trigger a full layout tree *rebuild*, not just a relayout.
This commit is contained in:
Andreas Kling 2024-09-19 07:40:45 +02:00 committed by Andreas Kling
parent e205723b95
commit aa8f17aea4
Notes: github-actions[bot] 2024-09-19 08:13:42 +00:00
9 changed files with 14 additions and 14 deletions

View file

@ -88,7 +88,7 @@ WebIDL::ExceptionOr<void> ShadowRoot::set_inner_html(StringView value)
if (this->is_connected()) {
// NOTE: Since the DOM has changed, we have to rebuild the layout tree.
this->document().invalidate_layout();
this->document().invalidate_layout_tree();
}
}