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 5beaba0026a59918b137bad08e3d1bce8224b2a5..6333e60827036c96d6a2830c3009cd065c0281bd 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() { |