Index: Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
diff --git a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
index 53657cedd899cc8ab4f52e093fa34c4a0a19b8e6..b4421cf820e2e1d044528dc327873706d772562b 100644 |
--- a/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
+++ b/Source/core/layout/compositing/DeprecatedPaintLayerCompositor.cpp |
@@ -620,14 +620,7 @@ String DeprecatedPaintLayerCompositor::layerTreeAsText(LayerTreeFlags flags) |
if (flags & LayerTreeIncludesRootLayer) |
rootLayer = rootGraphicsLayer(); |
- String layerTreeText = rootLayer->layerTreeAsText(flags); |
- |
- // The true root layer is not included in the dump, so if we want to report |
- // its paint invalidation rects, they must be included here. |
- if (flags & LayerTreeIncludesPaintInvalidationRects) |
- return m_layoutView.frameView()->trackedPaintInvalidationRectsAsText() + layerTreeText; |
- |
- return layerTreeText; |
+ return rootLayer->layerTreeAsText(flags); |
} |
DeprecatedPaintLayerCompositor* DeprecatedPaintLayerCompositor::frameContentsCompositor(LayoutPart* layoutObject) |