summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/DOM/HTMLTableCellElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibWeb/DOM/HTMLTableCellElement.h')
-rw-r--r--Libraries/LibWeb/DOM/HTMLTableCellElement.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibWeb/DOM/HTMLTableCellElement.h b/Libraries/LibWeb/DOM/HTMLTableCellElement.h
index 15de7c51b0..8d1f2d90f6 100644
--- a/Libraries/LibWeb/DOM/HTMLTableCellElement.h
+++ b/Libraries/LibWeb/DOM/HTMLTableCellElement.h
@@ -32,7 +32,7 @@ namespace Web {
class HTMLTableCellElement final : public HTMLElement {
public:
- HTMLTableCellElement(Document&, const FlyString& tag_name);
+ HTMLTableCellElement(Document&, const FlyString& local_name);
virtual ~HTMLTableCellElement() override;
private:
@@ -42,7 +42,7 @@ private:
template<>
inline bool is<HTMLTableCellElement>(const Node& node)
{
- return is<Element>(node) && to<Element>(node).tag_name().is_one_of(HTML::TagNames::td, HTML::TagNames::th);
+ return is<Element>(node) && to<Element>(node).local_name().is_one_of(HTML::TagNames::td, HTML::TagNames::th);
}
}