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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 2585603002: [SPInvaldation] Update subtree paint properties when a layout subtree is inserted (Closed)
Patch Set: Created 4 years 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: 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() {

Powered by Google App Engine
This is Rietveld 408576698