Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Unified Diff: Source/modules/accessibility/AXTableCell.cpp

Issue 852563002: Use isTableHeaderCell() where appropriate. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698