Index: third_party/WebKit/Source/core/layout/LayoutView.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
index e64bad483fb97302b526031cc21c70fc997770fa..003a39a17f63eba1cb1c5b6eafb1e4058ee47c4a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
@@ -430,8 +430,10 @@ static void setShouldDoFullPaintInvalidationForViewAndAllDescendantsInternal( |
} |
void LayoutView::setShouldDoFullPaintInvalidationForViewAndAllDescendants() { |
- DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()); |
- setShouldDoFullPaintInvalidationForViewAndAllDescendantsInternal(this); |
+ if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
+ setShouldDoFullPaintInvalidationIncludingNonCompositingDescendants(); |
+ else |
+ setShouldDoFullPaintInvalidationForViewAndAllDescendantsInternal(this); |
} |
void LayoutView::invalidatePaintForViewAndCompositedLayers() { |