Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index d8eb4c116e4683ed3e38761b208b55c339c7dacf..2a5d6c9253a03401aba4172c36a807ce9f003f5c 100644 |
--- a/Source/core/html/HTMLSelectElement.cpp |
+++ b/Source/core/html/HTMLSelectElement.cpp |
@@ -730,7 +730,7 @@ void HTMLSelectElement::scrollToSelection() |
return; |
scrollToIndex(activeSelectionEndListIndex()); |
if (AXObjectCache* cache = document().existingAXObjectCache()) |
- cache->selectedChildrenChanged(this); |
+ cache->listboxActiveIndexChanged(this); |
} |
void HTMLSelectElement::setOptionsChangedOnRenderer() |
@@ -970,9 +970,6 @@ void HTMLSelectElement::selectOption(int optionIndex, SelectOptionFlags flags) |
if (LayoutObject* renderer = this->layoutObject()) { |
if (usesMenuList()) { |
toLayoutMenuList(renderer)->didSetSelectedIndex(listIndex); |
- } else if (renderer->isListBox()) { |
- if (AXObjectCache* cache = document().existingAXObjectCache()) |
- cache->selectedChildrenChanged(this); |
} |
} |
} |