Index: Source/core/rendering/RenderLayerClipper.cpp |
diff --git a/Source/core/rendering/RenderLayerClipper.cpp b/Source/core/rendering/RenderLayerClipper.cpp |
index 6c87430f5ee2a7ee31ba895af0195b4cd97db8e3..f0083d3c4d037f8feb28294e36fabe861f8a07c4 100644 |
--- a/Source/core/rendering/RenderLayerClipper.cpp |
+++ b/Source/core/rendering/RenderLayerClipper.cpp |
@@ -134,18 +134,6 @@ LayoutRect RenderLayerClipper::childrenClipRect() const |
return clippingRootLayer->renderer()->localToAbsoluteQuad(FloatQuad(foregroundRect.rect())).enclosingBoundingBox(); |
} |
-LayoutRect RenderLayerClipper::selfClipRect() const |
-{ |
- // FIXME: border-radius not accounted for. |
- RenderView* renderView = m_renderer->view(); |
- RenderLayer* clippingRootLayer = clippingRootForPainting(); |
- LayoutRect layerBounds; |
- ClipRect backgroundRect, foregroundRect, outlineRect; |
- ClipRectsContext clipRectsContext(clippingRootLayer, PaintingClipRects); |
- calculateRects(clipRectsContext, renderView->documentRect(), layerBounds, backgroundRect, foregroundRect, outlineRect); |
- return clippingRootLayer->renderer()->localToAbsoluteQuad(FloatQuad(backgroundRect.rect())).enclosingBoundingBox(); |
-} |
- |
LayoutRect RenderLayerClipper::localClipRect() const |
{ |
// FIXME: border-radius not accounted for. |