Index: Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
diff --git a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
index 6d56b078c9263b881ba7e4af5028bffadbf97538..311fcf43112d21c2f4158f4ed2fe87cac39b9c80 100644 |
--- a/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
+++ b/Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp |
@@ -2108,7 +2108,7 @@ void CompositedDeprecatedPaintLayerMapping::doPaintTask(const GraphicsLayerPaint |
IntRect dirtyRect(clip); |
dirtyRect.move(offset); |
- if (!(paintLayerFlags & PaintLayerPaintingOverflowContents)) { |
+ if (!(paintLayerFlags & PaintLayerPaintingOverflowContents) && !RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
LayoutRect bounds = paintInfo.compositedBounds; |
bounds.move(paintInfo.paintLayer->subpixelAccumulation()); |
dirtyRect.intersect(pixelSnappedIntRect(bounds)); |