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

Unified Diff: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp

Issue 2575653002: [SPInvalidation] Invalidate all paint and properties for printing (Closed)
Patch Set: Rebase on third_party/WebKit/LayoutTests/TestExpectations 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/paint/PaintInvalidator.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
index 47ef71c74eebf919da0864f3e618aaae895a540f..32c4b1048798d599dba6dcc9c795d4e55adc9438 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -313,7 +313,10 @@ void PaintInvalidator::updateContext(const LayoutObject& object,
context.forcedSubtreeInvalidationFlags &= PaintInvalidatorContext::
ForcedSubtreeFullInvalidationForStackedContents;
} else {
- context.forcedSubtreeInvalidationFlags = 0;
+ // For SPv1, subtree flags don't cross paint invalidation container
+ // boundary except for ForcedWholeTreeFullInvalidation.
+ context.forcedSubtreeInvalidationFlags &=
+ PaintInvalidatorContext::ForcedWholeTreeFullInvalidation;
}
}

Powered by Google App Engine
This is Rietveld 408576698