Index: Source/WebCore/page/Frame.cpp |
=================================================================== |
--- Source/WebCore/page/Frame.cpp (revision 146890) |
+++ Source/WebCore/page/Frame.cpp (working copy) |
@@ -699,7 +699,7 @@ |
{ |
if (m_ownerElement) { |
if (Document* doc = document()) |
- doc->topDocument()->clearAXObjectCache(); |
+ doc->clearAXObjectCache(); |
m_ownerElement->clearContentFrame(); |
if (m_page) |
m_page->decrementSubframeCount(); |