Index: Source/core/paint/FilterPainter.cpp |
diff --git a/Source/core/paint/FilterPainter.cpp b/Source/core/paint/FilterPainter.cpp |
index 309a8a2cbe9278beab4eef2ec09d513a91f80134..52bf8702e01081d5afb39f47b467e58e07fbb56c 100644 |
--- a/Source/core/paint/FilterPainter.cpp |
+++ b/Source/core/paint/FilterPainter.cpp |
@@ -52,7 +52,7 @@ FilterPainter::FilterPainter(DeprecatedPaintLayer& layer, GraphicsContext* conte |
// done it above, and doing it later will defeat the outsets. |
paintingInfo.clipToDirtyRect = false; |
- if (clipRect.rect() != paintingInfo.paintDirtyRect || clipRect.hasRadius()) { |
+ if ((clipRect.rect() != paintingInfo.paintDirtyRect || clipRect.hasRadius()) && !RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { |
m_clipRecorder = adoptPtr(new LayerClipRecorder(*context, *layer.layoutObject(), DisplayItem::ClipLayerFilter, clipRect, &paintingInfo, LayoutPoint(), paintFlags)); |
} |