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

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
« no previous file with comments | « Source/core/paint/TextPainterTest.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebAXObject.cpp
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp
index 9c688dc231636747673179349d74c6ab1878b5c9..6f64230514a3802b5750b0c4f058668ccd552664 100644
--- a/Source/web/WebAXObject.cpp
+++ b/Source/web/WebAXObject.cpp
@@ -124,7 +124,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.
« no previous file with comments | « Source/core/paint/TextPainterTest.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698