Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 95f79cbc724c033eeb430f97c5e0db39788b65c4..162f03f05976461510ea521d29ecb4e00ba601ea 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -974,8 +974,8 @@ void FrameView::layout(bool allowSubtree) |
m_layoutCount++; |
- if (AXObjectCache* cache = rootForThisLayout->document().existingAXObjectCache()) |
- cache->postNotification(rootForThisLayout, AXObjectCache::AXLayoutComplete, true); |
+ if (AXObjectCache* cache = rootForThisLayout->document().axObjectCache()) |
+ cache->handleLayoutComplete(rootForThisLayout); |
updateAnnotatedRegions(); |
ASSERT(!rootForThisLayout->needsLayout()); |