Index: Source/core/rendering/RenderLayer.cpp |
diff --git a/Source/core/rendering/RenderLayer.cpp b/Source/core/rendering/RenderLayer.cpp |
index 189e9f355f52464f74012c21ce6a81e30d45c680..2ac77022d5c1cd609a768e4a8163d74d835ba44f 100644 |
--- a/Source/core/rendering/RenderLayer.cpp |
+++ b/Source/core/rendering/RenderLayer.cpp |
@@ -3514,7 +3514,6 @@ void RenderLayer::paintOverlayScrollbars(GraphicsContext* context, const LayoutR |
m_containsDirtyOverlayScrollbars = false; |
} |
-#ifndef DISABLE_ROUNDED_CORNER_CLIPPING |
static bool inContainingBlockChain(RenderLayer* startLayer, RenderLayer* endLayer) |
{ |
if (startLayer == endLayer) |
@@ -3528,7 +3527,6 @@ static bool inContainingBlockChain(RenderLayer* startLayer, RenderLayer* endLaye |
return false; |
} |
-#endif |
void RenderLayer::clipToRect(RenderLayer* rootLayer, GraphicsContext* context, const LayoutRect& paintDirtyRect, const ClipRect& clipRect, |
BorderRadiusClippingRule rule) |
@@ -3541,7 +3539,6 @@ void RenderLayer::clipToRect(RenderLayer* rootLayer, GraphicsContext* context, c |
if (!clipRect.hasRadius()) |
return; |
-#ifndef DISABLE_ROUNDED_CORNER_CLIPPING |
// If the clip rect has been tainted by a border radius, then we have to walk up our layer chain applying the clips from |
// any layers with overflow. The condition for being able to apply these clips is that the overflow object be in our |
// containing block chain so we check that also. |
@@ -3555,7 +3552,6 @@ void RenderLayer::clipToRect(RenderLayer* rootLayer, GraphicsContext* context, c |
if (layer == rootLayer) |
break; |
} |
-#endif |
} |
void RenderLayer::restoreClip(GraphicsContext* context, const LayoutRect& paintDirtyRect, const ClipRect& clipRect) |