Index: Source/core/frame/LocalFrame.cpp |
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp |
index 13ffdd2a39282fcffa2c4e91b4b4a2e0a666c93d..581c61e6f1a550a44c2e79cc8db0145df2bbd154 100644 |
--- a/Source/core/frame/LocalFrame.cpp |
+++ b/Source/core/frame/LocalFrame.cpp |
@@ -387,7 +387,7 @@ void LocalFrame::disconnectOwnerElement() |
{ |
if (ownerElement()) { |
if (Document* doc = document()) |
- doc->topDocument()->clearAXObjectCache(); |
+ doc->topDocument().clearAXObjectCache(); |
ownerElement()->clearContentFrame(); |
if (page()) |
page()->decrementSubframeCount(); |