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

Unified Diff: Source/web/WebAXObject.cpp

Issue 1126883002: Change all one-off lifecycle callers to FrameView::updateLayoutAndStyleForPainting (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index 14fd723e4288136dd19ef85629244027f067136f..6e9a348444b8ffa3f1aeaab5d6c80fbf658a01d8 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -123,7 +123,7 @@ bool WebAXObject::updateLayoutAndCheckValidity()
Document* document = m_private->document();
if (!document || !document->topDocument().view())
return false;
- document->topDocument().view()->updateLayoutAndStyleIfNeededRecursive();
+ document->view()->updateLayoutAndStyleForPainting();
}
// Doing a layout can cause this object to be invalid, so check again.

Powered by Google App Engine
This is Rietveld 408576698