summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Layout/ButtonBox.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-01-01 18:55:47 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-01 18:56:49 +0100
commit07dd73c3510f6bd9f569e101f60e5bf6a1614108 (patch)
tree0fc36cf0b67dc968ccd22e1311a4dde315ac791b /Libraries/LibWeb/Layout/ButtonBox.h
parent3bb0cb2202a487303ece7444b4805fd0d30c97ed (diff)
downloadserenity-07dd73c3510f6bd9f569e101f60e5bf6a1614108.zip
LibWeb: Remove hand-rolled is_foo() helpers in Layout::Node classes
Diffstat (limited to 'Libraries/LibWeb/Layout/ButtonBox.h')
-rw-r--r--Libraries/LibWeb/Layout/ButtonBox.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Libraries/LibWeb/Layout/ButtonBox.h b/Libraries/LibWeb/Layout/ButtonBox.h
index a48342ad2b..f26c7ed8d8 100644
--- a/Libraries/LibWeb/Layout/ButtonBox.h
+++ b/Libraries/LibWeb/Layout/ButtonBox.h
@@ -43,7 +43,6 @@ public:
HTML::HTMLInputElement& dom_node() { return static_cast<HTML::HTMLInputElement&>(ReplacedBox::dom_node()); }
private:
- virtual bool is_button() const override { return true; }
virtual bool wants_mouse_events() const override { return true; }
virtual void handle_mousedown(Badge<EventHandler>, const Gfx::IntPoint&, unsigned button, unsigned modifiers) override;
virtual void handle_mouseup(Badge<EventHandler>, const Gfx::IntPoint&, unsigned button, unsigned modifiers) override;