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

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

Issue 2583733003: Use LayoutObject::subtreeNeedsPaintPropertyUpdate for printing invalidation (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 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() {
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalFrame.cpp ('k') | third_party/WebKit/Source/core/paint/PaintInvalidator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698