Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1102)

Unified Diff: Source/core/paint/FilterPainter.cpp

Issue 1284203004: Generate scroll/clip display item hierarchy for SPv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix assertion failure Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}

Powered by Google App Engine
This is Rietveld 408576698