summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/HTMLHRElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/DOM/HTMLHRElement.h')
-rw-r--r--Libraries/LibWeb/DOM/HTMLHRElement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/DOM/HTMLHRElement.h b/Libraries/LibWeb/DOM/HTMLHRElement.h
index 31c23deae4..3e8f84e71a 100644
--- a/Libraries/LibWeb/DOM/HTMLHRElement.h
+++ b/Libraries/LibWeb/DOM/HTMLHRElement.h
@@ -32,14 +32,14 @@ namespace Web {
class HTMLHRElement : public HTMLElement {
public:
- HTMLHRElement(Document&, const FlyString& tag_name);
+ HTMLHRElement(Document&, const FlyString& local_name);
virtual ~HTMLHRElement() override;
};
template<>
inline bool is<HTMLHRElement>(const Node& node)
{
- return is<Element>(node) && to<Element>(node).tag_name() == HTML::TagNames::hr;
+ return is<Element>(node) && to<Element>(node).local_name() == HTML::TagNames::hr;
}
}