diff options
author | Andreas Kling <kling@serenityos.org> | 2020-11-22 14:46:36 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-11-22 14:46:36 +0100 |
commit | f358f2255fec7228b7ddf510936a2b7a150e509e (patch) | |
tree | 3880618b67facc7b935df3434d423151f3e5b0e6 /Libraries/LibWeb/Layout/LayoutButton.h | |
parent | 85859544fa306db03c791df8e56897f3c3089420 (diff) | |
download | serenity-f358f2255fec7228b7ddf510936a2b7a150e509e.zip |
LibWeb: Rename LayoutNode::node() => LayoutNode::dom_node()
Diffstat (limited to 'Libraries/LibWeb/Layout/LayoutButton.h')
-rw-r--r-- | Libraries/LibWeb/Layout/LayoutButton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/Layout/LayoutButton.h b/Libraries/LibWeb/Layout/LayoutButton.h index 685e4d6722..5d6fa36b74 100644 --- a/Libraries/LibWeb/Layout/LayoutButton.h +++ b/Libraries/LibWeb/Layout/LayoutButton.h @@ -39,8 +39,8 @@ public: virtual void prepare_for_replaced_layout() override; virtual void paint(PaintContext&, PaintPhase) override; - const HTML::HTMLInputElement& node() const { return static_cast<const HTML::HTMLInputElement&>(LayoutReplaced::node()); } - HTML::HTMLInputElement& node() { return static_cast<HTML::HTMLInputElement&>(LayoutReplaced::node()); } + const HTML::HTMLInputElement& dom_node() const { return static_cast<const HTML::HTMLInputElement&>(LayoutReplaced::dom_node()); } + HTML::HTMLInputElement& dom_node() { return static_cast<HTML::HTMLInputElement&>(LayoutReplaced::dom_node()); } private: virtual const char* class_name() const override { return "LayoutButton"; } |