Index: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
diff --git a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
index 0066aa43c19af875854e549d23c3e0a982698c24..f29e2a34e0ad4517f79731f0ddd73f27888c6a4f 100644 |
--- a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
+++ b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
@@ -2091,6 +2091,8 @@ IntRect CompositedDeprecatedPaintLayerMapping::localClipRectForSquashedLayer(con |
void CompositedDeprecatedPaintLayerMapping::doPaintTask(const GraphicsLayerPaintInfo& paintInfo, const PaintLayerFlags& paintLayerFlags, GraphicsContext* context, |
const IntRect& clip) // In the coords of rootLayer. |
{ |
+ ASSERT(!RuntimeEnabledFeatures::slimmingPaintCompositorLayerizationEnabled() || clip == LayoutRect::infiniteIntRect()); |
+ |
FontCachePurgePreventer fontCachePurgePreventer; |
IntSize offset = paintInfo.offsetFromLayoutObject; |