Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: Source/core/frame/FrameView.cpp

Issue 199693003: Send AXLayoutComplete even when document hasn't finished loading yet (reland) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 0565e76ae0136c47e47b11680c4ecfaf928c1f7f..9190c8e7529995e6ddc55ccc845214cfb476146c 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -983,8 +983,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());
« Source/core/accessibility/AXObjectCache.cpp ('K') | « Source/core/accessibility/AXObjectCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698