LibWeb: Remove Layout::Node::set_inline()

Now that this flag is no longer used, we can stop setting it.
This commit is contained in:
Andreas Kling 2022-10-06 14:56:48 +02:00
commit a0e6882d99
Notes: sideshowbarker 2024-07-17 06:19:06 +09:00
12 changed files with 7 additions and 34 deletions

View file

@ -20,9 +20,7 @@ HTMLLabelElement::~HTMLLabelElement() = default;
RefPtr<Layout::Node> HTMLLabelElement::create_layout_node(NonnullRefPtr<CSS::StyleProperties> style)
{
auto layout_node = adopt_ref(*new Layout::Label(document(), this, move(style)));
layout_node->set_inline(true);
return layout_node;
return adopt_ref(*new Layout::Label(document(), this, move(style)));
}
}