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 9cf1038f4d9f51404dae61d7b0b12da10d07589f..131074b868cff2c0953721ec7a0fddc15de15cfa 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp |
@@ -662,7 +662,7 @@ 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()) |
+ if (layer->layoutObject()->isLayoutView() && toLayoutView(layer->layoutObject())->frameView()->shouldThrottleRendering()) |
shouldPaint = false; |
Vector<PaintLayerStackingNode*>* negList = layer->stackingNode()->negZOrderList(); |