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

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

Issue 942183003: Remove some redundant code from accessibility table headers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « Source/modules/accessibility/AXARIAGridRow.h ('k') | Source/modules/accessibility/AXTableColumn.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXARIAGridRow.cpp
diff --git a/Source/modules/accessibility/AXARIAGridRow.cpp b/Source/modules/accessibility/AXARIAGridRow.cpp
index 5f86a937d686452eeb25025a86d77b8af893fd69..2f66a4b118cece3487d3216d505838b2cd105a21 100644
--- a/Source/modules/accessibility/AXARIAGridRow.cpp
+++ b/Source/modules/accessibility/AXARIAGridRow.cpp
@@ -58,19 +58,6 @@ bool AXARIAGridRow::isARIATreeGridRow() const
return parent->ariaRoleAttribute() == TreeGridRole;
}
-AXObject* AXARIAGridRow::headerObject()
-{
- AccessibilityChildrenVector rowChildren = children();
- unsigned childrenCount = rowChildren.size();
- for (unsigned i = 0; i < childrenCount; ++i) {
- AXObject* cell = rowChildren[i].get();
- if (cell->ariaRoleAttribute() == RowHeaderRole)
- return cell;
- }
-
- return 0;
-}
-
void AXARIAGridRow::headerObjectsForRow(AccessibilityChildrenVector& headers)
{
AccessibilityChildrenVector rowChildren = children();
« no previous file with comments | « Source/modules/accessibility/AXARIAGridRow.h ('k') | Source/modules/accessibility/AXTableColumn.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698