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

Unified Diff: Source/core/layout/LayoutTestHelper.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/core/layout/LayoutTestHelper.cpp
diff --git a/Source/core/layout/LayoutTestHelper.cpp b/Source/core/layout/LayoutTestHelper.cpp
index 8723df463566030ae4b6ad85f048c0348658be1a..31dd409907c688cd89029e1c876c7b301c2bea19 100644
--- a/Source/core/layout/LayoutTestHelper.cpp
+++ b/Source/core/layout/LayoutTestHelper.cpp
@@ -37,7 +37,7 @@ void RenderingTest::SetUp()
// This ensures that the minimal DOM tree gets attached
// correctly for tests that don't call setBodyInnerHTML.
- document().view()->updateLayoutAndStyleIfNeededRecursive();
+ document().view()->updateLayoutAndStyleForPainting();
}

Powered by Google App Engine
This is Rietveld 408576698