Index: third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp b/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp |
index cac5dfc40aca55a0cacf3ad9c1077d9e700bb9ae..70be3a8afbd316cf6e741eaf233ec880c4de72b8 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXMenuListPopup.cpp |
@@ -147,7 +147,7 @@ |
if (optionIndex >= 0 && optionIndex < static_cast<int>(m_children.size())) { |
AXObject* child = m_children[optionIndex].get(); |
- cache.postNotification(this, AXObjectCacheImpl::AXActiveDescendantChanged); |
+ cache.postNotification(child, AXObjectCacheImpl::AXFocusedUIElementChanged); |
cache.postNotification(child, AXObjectCacheImpl::AXMenuListItemSelected); |
} |
@@ -158,8 +158,8 @@ |
{ |
AXObjectCacheImpl& cache = axObjectCache(); |
cache.postNotification(this, AXObjectCacheImpl::AXHide); |
- if (activeDescendant()) |
- cache.postNotification(activeDescendant(), AXObjectCacheImpl::AXMenuListItemUnselected); |
+ if (activeChild()) |
+ cache.postNotification(activeChild(), AXObjectCacheImpl::AXMenuListItemUnselected); |
} |
void AXMenuListPopup::didShow() |
@@ -176,7 +176,7 @@ |
cache.postNotification(m_parent, AXObjectCacheImpl::AXFocusedUIElementChanged); |
} |
-AXObject* AXMenuListPopup::activeDescendant() |
+AXObject* AXMenuListPopup::activeChild() |
{ |
if (m_activeIndex < 0 || m_activeIndex >= static_cast<int>(children().size())) |
return nullptr; |