Implement backing-sharing in compositing layers, allowing overlap layers to paint...
[WebKit-https.git] / Source / WebCore / rendering / RenderTreeAsText.cpp
index 6f73c28..cfdd5ad 100644 (file)
@@ -654,7 +654,8 @@ static void writeLayer(TextStream& ts, const RenderLayer& layer, const LayoutRec
         if (layer.isComposited()) {
             ts << " (composited, bounds=" << layer.backing()->compositedBounds() << ", drawsContent=" << layer.backing()->graphicsLayer()->drawsContent()
                 << ", paints into ancestor=" << layer.backing()->paintsIntoCompositedAncestor() << ")";
-        }
+        } else if (layer.paintsIntoProvidedBacking())
+            ts << " (shared backing of " << layer.backingProviderLayer() << ")";
     }
 
 #if ENABLE(CSS_COMPOSITING)