Index: third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp b/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
index 09d51159dceeebd1a6bdcb9b728a5b3f0fb1781c..0b6cd6da146d8855cd071d867123671acc3af12a 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp |
@@ -28,6 +28,7 @@ |
#include "modules/accessibility/AXTableCell.h" |
+#include "core/dom/AccessibleNode.h" |
#include "core/layout/LayoutTableCell.h" |
#include "modules/accessibility/AXObjectCacheImpl.h" |
#include "modules/accessibility/AXTableRow.h" |
@@ -220,7 +221,8 @@ SortDirection AXTableCell::getSortDirection() const { |
if (roleValue() != RowHeaderRole && roleValue() != ColumnHeaderRole) |
return SortDirectionUndefined; |
- const AtomicString& ariaSort = getAttribute(aria_sortAttr); |
+ const AtomicString& ariaSort = |
+ getAOMPropertyOrARIAAttribute(AOMStringProperty::kSort); |
if (ariaSort.isEmpty()) |
return SortDirectionUndefined; |
if (equalIgnoringCase(ariaSort, "none")) |