+2014-01-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
+
+ Add toHTMLTableSectionElement() functions, and use it
+ https://bugs.webkit.org/show_bug.cgi?id=126418
+
+ Reviewed by Andreas Kling.
+
+ HTMLTableSectionElement covers tbody, tfoot, and thead tags. So, we can't
+ generate isHTMLTableSectionElement() by using template. This patch add
+ toHTMLTableSectionElement() manually in order to cleanup static_cast<>.
+
+ No new tests, no behavior change.
+
+ * html/HTMLTableElement.cpp:
+ (WebCore::HTMLTableElement::tHead):
+ (WebCore::HTMLTableElement::tFoot):
+ (WebCore::HTMLTableElement::lastBody):
+ * html/HTMLTableRowElement.cpp:
+ (WebCore::HTMLTableRowElement::rowIndex):
+ * html/HTMLTableSectionElement.h:
+ * html/HTMLTagNames.in:
+