| Index: Source/WebCore/dom/Element.cpp
 | 
| ===================================================================
 | 
| --- Source/WebCore/dom/Element.cpp	(revision 146890)
 | 
| +++ Source/WebCore/dom/Element.cpp	(working copy)
 | 
| @@ -884,8 +884,8 @@
 | 
|      if (shouldInvalidateStyle)
 | 
|          setNeedsStyleRecalc();
 | 
|  
 | 
| -    if (AXObjectCache* cache = document()->existingAXObjectCache())
 | 
| -        cache->handleAttributeChanged(name, this);
 | 
| +    if (AXObjectCache::accessibilityEnabled())
 | 
| +        document()->axObjectCache()->handleAttributeChanged(name, this);
 | 
|  }
 | 
|  
 | 
|  inline void Element::attributeChangedFromParserOrByCloning(const QualifiedName& name, const AtomicString& newValue)
 | 
| 
 |