Index: Source/modules/accessibility/AXTableCell.cpp |
diff --git a/Source/modules/accessibility/AXTableCell.cpp b/Source/modules/accessibility/AXTableCell.cpp |
index 306215b4391ecc746a0e4d5c204d56c878902912..f28d3540464e752648d45f8972b1e5297cb3832c 100644 |
--- a/Source/modules/accessibility/AXTableCell.cpp |
+++ b/Source/modules/accessibility/AXTableCell.cpp |
@@ -195,8 +195,7 @@ AXObject* AXTableCell::titleUIElement() const |
// Table cells that are th cannot have title ui elements, since by definition |
// they are title ui elements |
- Node* node = m_renderer->node(); |
- if (node && node->hasTagName(thTag)) |
+ if (isTableHeaderCell()) |
return 0; |
RenderTableCell* renderCell = toRenderTableCell(m_renderer); |