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

Unified Diff: Source/core/rendering/compositing/RenderLayerCompositor.cpp

Issue 202523004: Fully update compositing information for *layerTreeAsText calls (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Assert that the compositor is up to date in layerTreeAsText Created 6 years, 9 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/frame/LocalFrame.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/compositing/RenderLayerCompositor.cpp
diff --git a/Source/core/rendering/compositing/RenderLayerCompositor.cpp b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
index ba9ca588e812197992c0ff0af3e73e2ed6e3f1aa..f0cde941c8bfc031b26fcce683e06fb6dc2b2dca 100644
--- a/Source/core/rendering/compositing/RenderLayerCompositor.cpp
+++ b/Source/core/rendering/compositing/RenderLayerCompositor.cpp
@@ -1340,8 +1340,7 @@ bool RenderLayerCompositor::scrollingLayerDidChange(RenderLayer* layer)
String RenderLayerCompositor::layerTreeAsText(LayerTreeFlags flags)
{
- // Before dumping the layer tree, finish any pending compositing update.
- updateCompositingLayers();
+ ASSERT(m_renderView.document().lifecycle().state() >= DocumentLifecycle::CompositingClean);
if (!m_rootContentLayer)
return String();
« no previous file with comments | « Source/core/frame/LocalFrame.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698