| Index: Source/WebCore/rendering/RenderObjectChildList.cpp
 | 
| ===================================================================
 | 
| --- Source/WebCore/rendering/RenderObjectChildList.cpp	(revision 146890)
 | 
| +++ Source/WebCore/rendering/RenderObjectChildList.cpp	(working copy)
 | 
| @@ -109,8 +109,8 @@
 | 
|      if (!owner->documentBeingDestroyed())
 | 
|          RenderCounter::rendererRemovedFromTree(oldChild);
 | 
|  
 | 
| -    if (AXObjectCache* cache = owner->document()->existingAXObjectCache())
 | 
| -        cache->childrenChanged(owner);
 | 
| +    if (AXObjectCache::accessibilityEnabled())
 | 
| +        owner->document()->axObjectCache()->childrenChanged(owner);
 | 
|  
 | 
|      return oldChild;
 | 
|  }
 | 
| @@ -161,8 +161,8 @@
 | 
|      if (!owner->normalChildNeedsLayout())
 | 
|          owner->setChildNeedsLayout(true); // We may supply the static position for an absolute positioned child.
 | 
|  
 | 
| -    if (AXObjectCache* cache = owner->document()->axObjectCache())
 | 
| -        cache->childrenChanged(owner);
 | 
| +    if (AXObjectCache::accessibilityEnabled())
 | 
| +        owner->document()->axObjectCache()->childrenChanged(owner);
 | 
|  }
 | 
|  
 | 
|  } // namespace WebCore
 | 
| 
 |