diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-10 11:26:01 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-11 00:21:49 +0100 |
commit | f6497b64ac52674e99564d83c4fad6229d06b1ef (patch) | |
tree | 31d77bafef93f8daaca7ba38f80c874831cf7efc /Userland/Libraries/LibWeb/DOM/Node.h | |
parent | 7af03df4c3aa50acb5d73fbc69b1181cfbbed536 (diff) | |
download | serenity-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.h | 2 |
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; |