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

Unified Diff: Source/core/testing/Internals.cpp

Issue 1225583004: 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/svg/graphics/SVGImageChromeClient.cpp ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/svg/graphics/SVGImageChromeClient.cpp ('k') | Source/web/InspectorOverlayImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698