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

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

Issue 2488343002: Move clearPaintInvalidatinFlags after subtree walk (Closed)
Patch Set: Created 4 years, 1 month 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 ae82764dc2734a175579fa0bf7c61d7246ea600f..18831834bbbb3388a446668e41addf0c33d3d626 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -451,8 +451,6 @@ void PaintInvalidator::invalidatePaintIfNeeded(
!toLayoutBox(object).usesCompositedScrolling())
context.forcedSubtreeInvalidationFlags |=
PaintInvalidatorContext::ForcedSubtreeInvalidationRectUpdate;
-
- object.getMutableForPainting().clearPaintInvalidationFlags();
}
void PaintInvalidator::processPendingDelayedPaintInvalidations() {

Powered by Google App Engine
This is Rietveld 408576698