Index: Source/core/html/HTMLSelectElement.cpp |
diff --git a/Source/core/html/HTMLSelectElement.cpp b/Source/core/html/HTMLSelectElement.cpp |
index f820c5413f8ab429e581f0afcf92d01e2c143671..3b826df79ec5a3f23343764ad92fab5702e61b41 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); |
} |
} |
} |