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

Unified Diff: Source/core/layout/LayoutTestHelper.h

Issue 1216543005: Revert of Add a FrameView lifecycle method that just updates layout, style and compositing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/layout/LayoutPart.cpp ('k') | Source/core/layout/LayoutTestHelper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutTestHelper.h
diff --git a/Source/core/layout/LayoutTestHelper.h b/Source/core/layout/LayoutTestHelper.h
index fa2a1d49d16c7bf54db53a28021b356850a3f90a..d09556200efd858f85bd45420f31a60b29db78cc 100644
--- a/Source/core/layout/LayoutTestHelper.h
+++ b/Source/core/layout/LayoutTestHelper.h
@@ -24,13 +24,13 @@
void setBodyInnerHTML(const String& htmlContent)
{
document().body()->setInnerHTML(htmlContent, ASSERT_NO_EXCEPTION);
- document().view()->updateAllLifecyclePhases();
+ document().view()->updateLayoutAndStyleForPainting();
}
void enableCompositing()
{
m_pageHolder->page().settings().setAcceleratedCompositingEnabled(true);
- document().view()->updateAllLifecyclePhases();
+ document().view()->updateLayoutAndStyleForPainting();
}
private:
« no previous file with comments | « Source/core/layout/LayoutPart.cpp ('k') | Source/core/layout/LayoutTestHelper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698