Index: Source/core/html/HTMLTableSectionElement.h |
diff --git a/Source/core/html/HTMLTableSectionElement.h b/Source/core/html/HTMLTableSectionElement.h |
index 20717571914f0e1995b5df979f109932321e03c5..385642d25009b16e9f9d8dfa5c5eefd82e5b4526 100644 |
--- a/Source/core/html/HTMLTableSectionElement.h |
+++ b/Source/core/html/HTMLTableSectionElement.h |
@@ -50,14 +50,9 @@ private: |
virtual const StylePropertySet* additionalPresentationAttributeStyle() OVERRIDE; |
}; |
-inline bool isHTMLTableSectionElement(const Element& element) |
-{ |
- return element.hasTagName(HTMLNames::tbodyTag) || element.hasTagName(HTMLNames::tfootTag) || element.hasTagName(HTMLNames::theadTag); |
-} |
- |
inline bool isHTMLTableSectionElement(const HTMLElement& element) |
{ |
- return element.hasLocalName(HTMLNames::tbodyTag) || element.hasLocalName(HTMLNames::tfootTag) || element.hasLocalName(HTMLNames::theadTag); |
+ return element.hasTagName(HTMLNames::tbodyTag) || element.hasTagName(HTMLNames::tfootTag) || element.hasTagName(HTMLNames::theadTag); |
} |
DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLTableSectionElement); |