| Index: Source/WebCore/html/InputType.cpp
|
| ===================================================================
|
| --- Source/WebCore/html/InputType.cpp (revision 146890)
|
| +++ Source/WebCore/html/InputType.cpp (working copy)
|
| @@ -1013,8 +1013,8 @@
|
|
|
| setValueAsDecimal(newValue, eventBehavior, ec);
|
|
|
| - if (AXObjectCache* cache = element()->document()->existingAXObjectCache())
|
| - cache->postNotification(element(), AXObjectCache::AXValueChanged, true);
|
| + if (AXObjectCache::accessibilityEnabled())
|
| + element()->document()->axObjectCache()->postNotification(element(), AXObjectCache::AXValueChanged, true);
|
| }
|
|
|
| bool InputType::getAllowedValueStep(Decimal* step) const
|
|
|