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

Unified Diff: third_party/WebKit/Source/core/paint/PrePaintTreeWalk.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/paint/PrePaintTreeWalk.cpp
diff --git a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
index c335cd72ef242b9a16bcfed5d9b76916b1deb389..76bdf538d223c294dea6c746907753393822f830 100644
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp
@@ -53,14 +53,6 @@ bool PrePaintTreeWalk::walk(FrameView& frameView,
}
PrePaintTreeWalkContext localContext(context);
-
- if (frameView.shouldInvalidateAllPaintAndPaintProperties()) {
- localContext.treeBuilderContext.forceSubtreeUpdate = true;
- localContext.paintInvalidatorContext.forcedSubtreeInvalidationFlags |=
- PaintInvalidatorContext::ForcedWholeTreeFullInvalidation;
- frameView.clearShouldInvalidateAllPaintAndPaintProperties();
- }
-
m_propertyTreeBuilder.updateProperties(frameView,
localContext.treeBuilderContext);
m_paintInvalidator.invalidatePaintIfNeeded(

Powered by Google App Engine
This is Rietveld 408576698