summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Layout/LayoutInline.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibHTML/Layout/LayoutInline.h')
-rw-r--r--Libraries/LibHTML/Layout/LayoutInline.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Libraries/LibHTML/Layout/LayoutInline.h b/Libraries/LibHTML/Layout/LayoutInline.h
index 8a12d5e3fa..3fb133d947 100644
--- a/Libraries/LibHTML/Layout/LayoutInline.h
+++ b/Libraries/LibHTML/Layout/LayoutInline.h
@@ -1,15 +1,12 @@
#pragma once
-#include <LibHTML/Layout/LayoutNode.h>
+#include <LibHTML/Layout/LayoutBox.h>
class LayoutBlock;
-class LayoutInline : public LayoutNodeWithStyle {
+class LayoutInline : public LayoutNodeWithStyleAndBoxModelMetrics {
public:
LayoutInline(const Element&, NonnullRefPtr<StyleProperties>);
virtual ~LayoutInline() override;
-
virtual const char* class_name() const override { return "LayoutInline"; }
-
-private:
};