| Index: Source/WebCore/html/RangeInputType.cpp
|
| ===================================================================
|
| --- Source/WebCore/html/RangeInputType.cpp (revision 146890)
|
| +++ Source/WebCore/html/RangeInputType.cpp (working copy)
|
| @@ -246,8 +246,8 @@
|
| TextFieldEventBehavior eventBehavior = DispatchChangeEvent;
|
| setValueAsDecimal(newValue, eventBehavior, IGNORE_EXCEPTION);
|
|
|
| - if (AXObjectCache* cache = element()->document()->existingAXObjectCache())
|
| - cache->postNotification(element(), AXObjectCache::AXValueChanged, true);
|
| + if (AXObjectCache::accessibilityEnabled())
|
| + element()->document()->axObjectCache()->postNotification(element(), AXObjectCache::AXValueChanged, true);
|
| element()->dispatchFormControlChangeEvent();
|
| }
|
|
|
|
|