| Index: sky/engine/core/rendering/RenderTreeAsText.cpp
|
| diff --git a/sky/engine/core/rendering/RenderTreeAsText.cpp b/sky/engine/core/rendering/RenderTreeAsText.cpp
|
| index e1798e67ce6116998b7a1a98c13332739a3cb358..a9a11bb202896de62221ed12437581f3651f2f3c 100644
|
| --- a/sky/engine/core/rendering/RenderTreeAsText.cpp
|
| +++ b/sky/engine/core/rendering/RenderTreeAsText.cpp
|
| @@ -340,13 +340,12 @@ enum LayerPaintPhase {
|
| };
|
|
|
| static void write(TextStream& ts, RenderLayer& l,
|
| - const LayoutRect& layerBounds, const LayoutRect& backgroundClipRect, const LayoutRect& clipRect, const LayoutRect& outlineClipRect,
|
| + const LayoutRect& layerBounds, const LayoutRect& backgroundClipRect, const LayoutRect& clipRect,
|
| LayerPaintPhase paintPhase = LayerPaintPhaseAll, int indent = 0, RenderAsTextBehavior behavior = RenderAsTextBehaviorNormal)
|
| {
|
| IntRect adjustedLayoutBounds = pixelSnappedIntRect(layerBounds);
|
| IntRect adjustedBackgroundClipRect = pixelSnappedIntRect(backgroundClipRect);
|
| IntRect adjustedClipRect = pixelSnappedIntRect(clipRect);
|
| - IntRect adjustedOutlineClipRect = pixelSnappedIntRect(outlineClipRect);
|
|
|
| writeIndent(ts, indent);
|
|
|
| @@ -362,8 +361,6 @@ static void write(TextStream& ts, RenderLayer& l,
|
| ts << " backgroundClip " << adjustedBackgroundClipRect;
|
| if (!adjustedClipRect.contains(adjustedLayoutBounds))
|
| ts << " clip " << adjustedClipRect;
|
| - if (!adjustedOutlineClipRect.contains(adjustedLayoutBounds))
|
| - ts << " outlineClip " << adjustedOutlineClipRect;
|
| }
|
| if (l.isTransparent())
|
| ts << " transparent";
|
| @@ -402,8 +399,8 @@ void RenderTreeAsText::writeLayers(TextStream& ts, const RenderLayer* rootLayer,
|
|
|
| // Calculate the clip rects we should use.
|
| LayoutRect layerBounds;
|
| - ClipRect damageRect, clipRectToApply, outlineRect;
|
| - layer->clipper().calculateRects(ClipRectsContext(rootLayer, UncachedClipRects), paintDirtyRect, layerBounds, damageRect, clipRectToApply, outlineRect);
|
| + ClipRect damageRect, clipRectToApply;
|
| + layer->clipper().calculateRects(ClipRectsContext(rootLayer, UncachedClipRects), paintDirtyRect, layerBounds, damageRect, clipRectToApply);
|
|
|
| // FIXME: Apply overflow to the root layer to not break every test. Complete hack. Sigh.
|
| if (rootLayer == layer)
|
| @@ -415,7 +412,7 @@ void RenderTreeAsText::writeLayers(TextStream& ts, const RenderLayer* rootLayer,
|
| bool shouldPaint = (behavior & RenderAsTextShowAllLayers) ? true : layer->intersectsDamageRect(layerBounds, damageRect.rect(), rootLayer);
|
|
|
| if (shouldPaint)
|
| - write(ts, *layer, layerBounds, damageRect.rect(), clipRectToApply.rect(), outlineRect.rect(), LayerPaintPhaseAll, indent, behavior);
|
| + write(ts, *layer, layerBounds, damageRect.rect(), clipRectToApply.rect(), LayerPaintPhaseAll, indent, behavior);
|
|
|
| if (Vector<RenderLayerStackingNode*>* normalFlowList = layer->stackingNode()->normalFlowList()) {
|
| int currIndent = indent;
|
|
|