| 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:
|
|
|