Index: Source/core/paint/BoxPainter.cpp |
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp |
index fb79cb988a837613d8a209e5a385f5fabfc73653..2a9a2b6bfb27d10f04fcfec381748385601f1d87 100644 |
--- a/Source/core/paint/BoxPainter.cpp |
+++ b/Source/core/paint/BoxPainter.cpp |
@@ -547,10 +547,6 @@ void BoxPainter::paintClippingMask(PaintInfo& paintInfo, const LayoutPoint& pain |
if (!m_renderBox.layer() || m_renderBox.layer()->compositingState() != PaintsIntoOwnBacking) |
return; |
- // We should never have this state in this function. A layer with a mask |
- // should have always created its own backing if it became composited. |
- ASSERT(m_renderBox.layer()->compositingState() != HasOwnBackingButPaintsIntoAncestor); |
- |
LayoutRect paintRect = LayoutRect(paintOffset, m_renderBox.size()); |
paintInfo.context->fillRect(pixelSnappedIntRect(paintRect), Color::black); |
} |