Index: third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
index 70ac5ffad5d5ffda8a71e84f9e130a3f728caa10..0c17502098641388c189e5470a9e77f7a43e7779 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXObjectCacheImpl.cpp |
@@ -262,7 +262,7 @@ bool nodeHasRole(Node* node, const String& role) { |
if (!node || !node->isElementNode()) |
return false; |
- return equalIgnoringCase(toElement(node)->getAttribute(roleAttr), role); |
+ return equalIgnoringASCIICase(toElement(node)->getAttribute(roleAttr), role); |
} |
AXObject* AXObjectCacheImpl::createFromRenderer(LayoutObject* layoutObject) { |
@@ -1090,8 +1090,8 @@ bool isNodeAriaVisible(Node* node) { |
if (!node->isElementNode()) |
return false; |
- return equalIgnoringCase(toElement(node)->getAttribute(aria_hiddenAttr), |
- "false"); |
+ return equalIgnoringASCIICase(toElement(node)->getAttribute(aria_hiddenAttr), |
+ "false"); |
} |
void AXObjectCacheImpl::postPlatformNotification(AXObject* obj, |