summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/ListItemBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/ListItemBox.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/ListItemBox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/ListItemBox.h b/Userland/Libraries/LibWeb/Layout/ListItemBox.h
index 2f31d5fa42..4181b25ec7 100644
--- a/Userland/Libraries/LibWeb/Layout/ListItemBox.h
+++ b/Userland/Libraries/LibWeb/Layout/ListItemBox.h
@@ -7,21 +7,21 @@
#pragma once
#include <LibWeb/DOM/Element.h>
-#include <LibWeb/Layout/BlockBox.h>
+#include <LibWeb/Layout/BlockContainer.h>
namespace Web::Layout {
class ListItemMarkerBox;
-class ListItemBox final : public BlockBox {
+class ListItemBox final : public BlockContainer {
public:
ListItemBox(DOM::Document&, DOM::Element&, NonnullRefPtr<CSS::StyleProperties>);
virtual ~ListItemBox() override;
void layout_marker();
- DOM::Element& dom_node() { return static_cast<DOM::Element&>(*BlockBox::dom_node()); }
- DOM::Element const& dom_node() const { return static_cast<DOM::Element const&>(*BlockBox::dom_node()); }
+ DOM::Element& dom_node() { return static_cast<DOM::Element&>(*BlockContainer::dom_node()); }
+ DOM::Element const& dom_node() const { return static_cast<DOM::Element const&>(*BlockContainer::dom_node()); }
private:
RefPtr<ListItemMarkerBox> m_marker;