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

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

Issue 232013002: Rewind the DocumentLifecycle when dirtying state (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address Ojan's comments Created 6 years, 8 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/rendering/compositing/RenderLayerCompositor.cpp ('k') | no next file » | 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 f9478a3f04e846c92de94aeb9eb213d1377e9203..d7b34e691b3d190906e36234d1bdc8f9c2534741 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -1884,6 +1884,8 @@ PassRefPtrWillBeRawPtr<ClientRectList> Internals::repaintRects(Element* element,
return nullptr;
}
+ element->document().frame()->view()->updateLayoutAndStyleForPainting();
+
if (RenderLayer* layer = getRenderLayerForElement(element, exceptionState)) {
if (layer->compositingState() == PaintsIntoOwnBacking) {
OwnPtr<Vector<FloatRect> > rects = layer->collectTrackedRepaintRects();
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698