Index: Source/modules/accessibility/AXMenuListPopup.cpp |
diff --git a/Source/modules/accessibility/AXMenuListPopup.cpp b/Source/modules/accessibility/AXMenuListPopup.cpp |
index 88021c39f68164e9b5eb8287a439a5385f514af6..a5580972d46b6e9fb53c74dffbece5e4a61ecb6e 100644 |
--- a/Source/modules/accessibility/AXMenuListPopup.cpp |
+++ b/Source/modules/accessibility/AXMenuListPopup.cpp |
@@ -145,12 +145,12 @@ void AXMenuListPopup::didUpdateActiveOption(int optionIndex) |
AXObjectCacheImpl* cache = axObjectCache(); |
if (m_activeIndex >= 0 && m_activeIndex < static_cast<int>(m_children.size())) { |
RefPtr<AXObject> previousChild = m_children[m_activeIndex].get(); |
- cache->postNotification(previousChild.get(), document(), AXObjectCacheImpl::AXMenuListItemUnselected, true); |
+ cache->postNotification(previousChild.get(), AXObjectCacheImpl::AXMenuListItemUnselected, true); |
} |
RefPtr<AXObject> child = m_children[optionIndex].get(); |
- cache->postNotification(child.get(), document(), AXObjectCacheImpl::AXFocusedUIElementChanged, true); |
- cache->postNotification(child.get(), document(), AXObjectCacheImpl::AXMenuListItemSelected, true); |
+ cache->postNotification(child.get(), AXObjectCacheImpl::AXFocusedUIElementChanged, true); |
+ cache->postNotification(child.get(), AXObjectCacheImpl::AXMenuListItemSelected, true); |
m_activeIndex = optionIndex; |
} |