Index: Source/WebCore/html/HTMLSelectElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLSelectElement.cpp (revision 145447) |
+++ Source/WebCore/html/HTMLSelectElement.cpp (working copy) |
@@ -373,9 +373,6 @@ |
setNeedsValidityCheck(); |
HTMLFormControlElementWithState::childrenChanged(changedByParser, beforeChange, afterChange, childCountDelta); |
- |
- if (AXObjectCache::accessibilityEnabled() && renderer()) |
- renderer()->document()->axObjectCache()->childrenChanged(this); |
} |
void HTMLSelectElement::optionElementChildrenChanged() |
@@ -724,6 +721,9 @@ |
} |
if (!inDocument()) |
invalidateSelectedItems(); |
+ |
+ if (AXObjectCache::accessibilityEnabled() && renderer()) |
+ renderer()->document()->axObjectCache()->childrenChanged(this); |
} |
void HTMLSelectElement::recalcListItems(bool updateSelectedStates) const |