| Index: Source/core/testing/Internals.cpp
|
| diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
|
| index b90e66ff913b88c07827c0a6580ebb50a80523eb..2edf34baabdeda4d3e90aa95a84ddd64560e6f56 100644
|
| --- a/Source/core/testing/Internals.cpp
|
| +++ b/Source/core/testing/Internals.cpp
|
| @@ -468,7 +468,7 @@
|
| return;
|
| }
|
|
|
| - frame()->view()->updateAllLifecyclePhases();
|
| + frame()->view()->updateLayoutAndStyleForPainting();
|
| frame()->document()->timeline().pauseAnimationsForTesting(pauseTime);
|
| }
|
|
|
| @@ -1608,7 +1608,7 @@
|
| {
|
| ASSERT(element);
|
| FrameView* frameView = element->document().view();
|
| - frameView->updateAllLifecyclePhases();
|
| + frameView->updateLayoutAndStyleForPainting();
|
|
|
| return elementLayerTreeAsText(element, 0, exceptionState);
|
| }
|
| @@ -1616,7 +1616,7 @@
|
| bool Internals::scrollsWithRespectTo(Element* element1, Element* element2, ExceptionState& exceptionState)
|
| {
|
| ASSERT(element1 && element2);
|
| - element1->document().view()->updateAllLifecyclePhases();
|
| + element1->document().view()->updateLayoutAndStyleForPainting();
|
|
|
| LayoutObject* layoutObject1 = element1->layoutObject();
|
| LayoutObject* layoutObject2 = element2->layoutObject();
|
| @@ -1647,7 +1647,7 @@
|
| return String();
|
| }
|
|
|
| - document->view()->updateAllLifecyclePhases();
|
| + document->view()->updateLayoutAndStyleForPainting();
|
|
|
| return document->frame()->layerTreeAsText(flags);
|
| }
|
| @@ -1687,7 +1687,7 @@
|
| return String();
|
| }
|
|
|
| - document->frame()->view()->updateAllLifecyclePhases();
|
| + document->frame()->view()->updateLayoutAndStyleForPainting();
|
|
|
| Page* page = document->page();
|
| if (!page)
|
| @@ -1912,7 +1912,7 @@
|
| }
|
|
|
| FrameView* frameView = document->view();
|
| - frameView->updateAllLifecyclePhases();
|
| + frameView->updateLayoutAndStyleForPainting();
|
| frameView->setTracksPaintInvalidations(true);
|
| }
|
|
|
| @@ -1925,7 +1925,7 @@
|
| }
|
|
|
| FrameView* frameView = document->view();
|
| - frameView->updateAllLifecyclePhases();
|
| + frameView->updateLayoutAndStyleForPainting();
|
| frameView->setTracksPaintInvalidations(false);
|
| }
|
|
|
| @@ -2195,7 +2195,7 @@
|
| return;
|
| }
|
|
|
| - document->frame()->view()->updateAllLifecyclePhases();
|
| + document->frame()->view()->updateLayoutAndStyleForPainting();
|
| }
|
|
|
| void Internals::setZoomFactor(float factor)
|
|
|