Index: content/shell/test_runner/web_ax_object_proxy.cc |
diff --git a/content/shell/test_runner/web_ax_object_proxy.cc b/content/shell/test_runner/web_ax_object_proxy.cc |
index 55784e641edeffa9f9b4b16cce018cc9d4cae57b..8908d82c8734412b96fd28b241fe33c2c384003d 100644 |
--- a/content/shell/test_runner/web_ax_object_proxy.cc |
+++ b/content/shell/test_runner/web_ax_object_proxy.cc |
@@ -1001,7 +1001,7 @@ bool WebAXObjectProxy::IsExpanded() { |
bool WebAXObjectProxy::IsChecked() { |
accessibility_object_.updateLayoutAndCheckValidity(); |
- return accessibility_object_.isChecked(); |
+ return accessibility_object_.checkedState() != blink::WebAXCheckedFalse; |
} |
bool WebAXObjectProxy::IsCollapsed() { |
@@ -1127,7 +1127,7 @@ bool WebAXObjectProxy::IsClickable() { |
bool WebAXObjectProxy::IsButtonStateMixed() { |
accessibility_object_.updateLayoutAndCheckValidity(); |
- return accessibility_object_.isButtonStateMixed(); |
+ return accessibility_object_.checkedState() == blink::WebAXCheckedMixed; |
} |
v8::Local<v8::Object> WebAXObjectProxy::AriaControlsElementAtIndex( |