Code: SortDirection AXTableCell::getSortDirection() const {
  if (roleValue() != RowHeaderRole && roleValue() != ColumnHeaderRole)
    return SortDirectionUndefined;

  const AtomicString& ariaSort =
       getAOMPropertyOrARIAAttribute(AOMStringProperty::kSort);
   if (ariaSort.isEmpty())
     return SortDirectionUndefined;
  if (equalIgnoringCase(ariaSort, "none"))
     return SortDirectionNone;
  if (equalIgnoringCase(ariaSort, "ascending"))
     return SortDirectionAscending;
  if (equalIgnoringCase(ariaSort, "descending"))
     return SortDirectionDescending;
  if (equalIgnoringCase(ariaSort, "other"))
     return SortDirectionOther;
   return SortDirectionUndefined;
 }

Commit Message: Switch to equalIgnoringASCIICase throughout modules/accessibility

BUG=627682

Review-Url: https://codereview.chromium.org/2793913007
Cr-Commit-Position: refs/heads/master@{#461858}
CWE ID: CWE-254
SortDirection AXTableCell::getSortDirection() const {
  if (roleValue() != RowHeaderRole && roleValue() != ColumnHeaderRole)
    return SortDirectionUndefined;

  const AtomicString& ariaSort =
       getAOMPropertyOrARIAAttribute(AOMStringProperty::kSort);
   if (ariaSort.isEmpty())
     return SortDirectionUndefined;
  if (equalIgnoringASCIICase(ariaSort, "none"))
     return SortDirectionNone;
  if (equalIgnoringASCIICase(ariaSort, "ascending"))
     return SortDirectionAscending;
  if (equalIgnoringASCIICase(ariaSort, "descending"))
     return SortDirectionDescending;
  if (equalIgnoringASCIICase(ariaSort, "other"))
     return SortDirectionOther;
   return SortDirectionUndefined;
 }
