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 76bdf538d223c294dea6c746907753393822f830..c335cd72ef242b9a16bcfed5d9b76916b1deb389 100644 |
--- a/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
+++ b/third_party/WebKit/Source/core/paint/PrePaintTreeWalk.cpp |
@@ -53,6 +53,14 @@ 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( |