Index: ui/accessibility/platform/ax_platform_node_win.cc |
diff --git a/ui/accessibility/platform/ax_platform_node_win.cc b/ui/accessibility/platform/ax_platform_node_win.cc |
index b0701227c2bc79123a020c54b010ccd1bc1719f5..5100d63f60d00c96317e3678a0791e128ca333a1 100644 |
--- a/ui/accessibility/platform/ax_platform_node_win.cc |
+++ b/ui/accessibility/platform/ax_platform_node_win.cc |
@@ -413,13 +413,13 @@ STDMETHODIMP AXPlatformNodeWin::get_accDefaultAction( |
COM_OBJECT_VALIDATE_VAR_ID_1_ARG_AND_GET_TARGET(var_id, def_action, target); |
int action; |
- if (!target->GetIntAttribute(AX_ATTR_ACTION, &action)) { |
+ if (!target->GetIntAttribute(AX_ATTR_DEFAULT_ACTION_VERB, &action)) { |
*def_action = nullptr; |
return S_FALSE; |
} |
base::string16 action_verb = |
- ActionToString(static_cast<AXSupportedAction>(action)); |
+ ActionVerbToLocalizedString(static_cast<AXDefaultActionVerb>(action)); |
if (action_verb.empty()) { |
*def_action = nullptr; |
return S_FALSE; |