Index: third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
index 2f3a4ae98e254708042c6a9e8bd262a24d779bd2..e5a582cafae3d606560846122918c0ebdd1ad4d4 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
@@ -663,6 +663,9 @@ void LayoutTreeAsText::writeLayers(TextStream& ts, const PaintLayer* rootLayer, |
layer->convertToLayerCoords(rootLayer, offsetFromRoot); |
bool shouldPaint = (behavior & LayoutAsTextShowAllLayers) ? true : layer->intersectsDamageRect(layerBounds, damageRect.rect(), offsetFromRoot); |
+ if (layer->layoutObject()->isLayoutPart() && toLayoutPart(layer->layoutObject())->isThrottledFrameView()) |
+ shouldPaint = false; |
+ |
Vector<PaintLayerStackingNode*>* negList = layer->stackingNode()->negZOrderList(); |
bool paintsBackgroundSeparately = negList && negList->size() > 0; |
if (shouldPaint && paintsBackgroundSeparately) |