Chromium Code Reviews| Index: Source/WebCore/dom/Node.cpp |
| =================================================================== |
| --- Source/WebCore/dom/Node.cpp (revision 131770) |
| +++ Source/WebCore/dom/Node.cpp (working copy) |
| @@ -414,7 +414,7 @@ |
| detach(); |
| Document* doc = m_document; |
| - if (AXObjectCache::accessibilityEnabled() && doc && doc->axObjectCacheExists()) |
| + if (AXObjectCache::accessibilityEnabled() && doc && doc->axObjectCacheExists() && !isContainerNode()) |
| doc->axObjectCache()->remove(this); |
| if (m_previous) |