Index: Source/core/html/HTMLTableCellElement.cpp |
diff --git a/Source/core/html/HTMLTableCellElement.cpp b/Source/core/html/HTMLTableCellElement.cpp |
index e746a9eb76c325643eb9b54d92c91c843b0630ad..cbdb47755a0a82e38437feb4f99f244e43ac8d89 100644 |
--- a/Source/core/html/HTMLTableCellElement.cpp |
+++ b/Source/core/html/HTMLTableCellElement.cpp |
@@ -132,12 +132,12 @@ bool HTMLTableCellElement::isURLAttribute(const Attribute& attribute) const |
bool HTMLTableCellElement::hasLegalLinkAttribute(const QualifiedName& name) const |
{ |
- return (hasLocalName(tdTag) && name == backgroundAttr) || HTMLTablePartElement::hasLegalLinkAttribute(name); |
+ return (hasTagName(tdTag) && name == backgroundAttr) || HTMLTablePartElement::hasLegalLinkAttribute(name); |
} |
const QualifiedName& HTMLTableCellElement::subResourceAttributeName() const |
{ |
- return hasLocalName(tdTag) ? backgroundAttr : HTMLTablePartElement::subResourceAttributeName(); |
+ return hasTagName(tdTag) ? backgroundAttr : HTMLTablePartElement::subResourceAttributeName(); |
} |
const AtomicString& HTMLTableCellElement::abbr() const |