summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/Node.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-03-10 11:26:01 +0100
committerAndreas Kling <kling@serenityos.org>2022-03-11 00:21:49 +0100
commitf6497b64ac52674e99564d83c4fad6229d06b1ef (patch)
tree31d77bafef93f8daaca7ba38f80c874831cf7efc /Userland/Libraries/LibWeb/DOM/Node.h
parent7af03df4c3aa50acb5d73fbc69b1181cfbbed536 (diff)
downloadserenity-f6497b64ac52674e99564d83c4fad6229d06b1ef.zip
LibWeb: Rename Painting::Box => Paintable
Calling this "Box" made it very confusing to look at code that used both Layout::Box and Painting::Box. Let's try calling it Paintable instead.
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 695b75ff89..ad3af3129b 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::Box const* paint_box() const;
+ Painting::Paintable const* paint_box() const;
void set_layout_node(Badge<Layout::Node>, Layout::Node*) const;