Index: Source/core/paint/DeprecatedPaintLayer.cpp |
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp |
index a6910903494bb73eb9589e1e45d8fa037179bec1..b1ceccb83709f8eba0a1d0adfba1022742862efc 100644 |
--- a/Source/core/paint/DeprecatedPaintLayer.cpp |
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp |
@@ -1382,7 +1382,7 @@ void DeprecatedPaintLayer::appendSingleFragmentIgnoringPagination(DeprecatedPain |
ClipRectsContext clipRectsContext(rootLayer, clipRectsCacheSlot, inOverlayScrollbarSizeRelevancy, subPixelAccumulation); |
if (respectOverflowClip == IgnoreOverflowClip) |
clipRectsContext.setIgnoreOverflowClip(); |
- clipper().calculateRects(clipRectsContext, dirtyRect, fragment.layerBounds, fragment.backgroundRect, fragment.foregroundRect, fragment.outlineRect, offsetFromRoot); |
+ clipper().calculateRects(clipRectsContext, dirtyRect, fragment.layerBounds, fragment.backgroundRect, fragment.foregroundRect, offsetFromRoot); |
fragments.append(fragment); |
} |
@@ -1408,9 +1408,8 @@ void DeprecatedPaintLayer::collectFragments(DeprecatedPaintLayerFragments& fragm |
LayoutRect layerBoundsInFlowThread; |
ClipRect backgroundRectInFlowThread; |
ClipRect foregroundRectInFlowThread; |
- ClipRect outlineRectInFlowThread; |
- clipper().calculateRects(paginationClipRectsContext, LayoutRect(LayoutRect::infiniteIntRect()), layerBoundsInFlowThread, backgroundRectInFlowThread, foregroundRectInFlowThread, |
- outlineRectInFlowThread, &offsetWithinPaginatedLayer); |
+ clipper().calculateRects(paginationClipRectsContext, LayoutRect(LayoutRect::infiniteIntRect()), layerBoundsInFlowThread, |
+ backgroundRectInFlowThread, foregroundRectInFlowThread, &offsetWithinPaginatedLayer); |
// Take our bounding box within the flow thread and clip it. |
LayoutRect layerBoundingBoxInFlowThread = layerBoundingBox ? *layerBoundingBox : physicalBoundingBox(offsetWithinPaginatedLayer); |
@@ -1455,7 +1454,7 @@ void DeprecatedPaintLayer::collectFragments(DeprecatedPaintLayerFragments& fragm |
DeprecatedPaintLayerFragment& fragment = fragments.at(i); |
// Set our four rects with all clipping applied that was internal to the flow thread. |
- fragment.setRects(layerBoundsInFlowThread, backgroundRectInFlowThread, foregroundRectInFlowThread, outlineRectInFlowThread); |
+ fragment.setRects(layerBoundsInFlowThread, backgroundRectInFlowThread, foregroundRectInFlowThread); |
// Shift to the root-relative physical position used when painting the flow thread in this fragment. |
fragment.moveBy(fragment.paginationOffset + offsetOfPaginationLayerFromRoot + subPixelAccumulationIfNeeded); |