summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Node.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-10 15:50:57 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-11 00:21:49 +0100
commit053766d79cc0916d073a96c3b4a515ba9d714cf6 (patch)
tree48f92ceeaeb5bc19dc262f6174749b249f1514f7 /Userland/Libraries/LibWeb/DOM/Node.h
parent0500dbc3f6e132cc4cb25b53812e2e71d04ff326 (diff)
downloadserenity-053766d79cc0916d073a96c3b4a515ba9d714cf6.zip
LibWeb: Split Paintable into Paintable and PaintableBox
To prepare for paintable inline content, we take the basic painting functionality and hoist it into a base class.
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Node.h')
-rw-r--r--Userland/Libraries/LibWeb/DOM/Node.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Node.h b/Userland/Libraries/LibWeb/DOM/Node.h
index ad3af3129b..8b9b641de2 100644
--- a/Userland/Libraries/LibWeb/DOM/Node.h
+++ b/Userland/Libraries/LibWeb/DOM/Node.h
@@ -158,7 +158,7 @@ public:
const Layout::Node* layout_node() const { return m_layout_node; }
Layout::Node* layout_node() { return m_layout_node; }
- Painting::Paintable const* paint_box() const;
+ Painting::PaintableBox const* paint_box() const;
void set_layout_node(Badge<Layout::Node>, Layout::Node*) const;