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

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

Issue 2788523002: Finish all string attributes for Accessibility Object Model Phase 1. (Closed)
Patch Set: notifyAttributeChanged Created 3 years, 8 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 | « third_party/WebKit/Source/modules/accessibility/AXObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"))
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698