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

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

Issue 2000763003: Check subtree paint invalidation when overflow clip status changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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/PaintInvalidationState.cpp
diff --git a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
index 890eee0f79f907b67e2ce33ab9b3aa75f8d91783..ef29d4ea0aa22ad069699d71ac261018bd697b27 100644
--- a/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
+++ b/third_party/WebKit/Source/core/layout/PaintInvalidationState.cpp
@@ -242,6 +242,9 @@ void PaintInvalidationState::updateForChildren(PaintInvalidationReason reason)
m_didUpdateForChildren = true;
#endif
+ if (m_currentObject.mayNeedPaintInvalidationSubtree())
+ setForceSubtreeInvalidationCheckingWithinContainer();
+
switch (reason) {
case PaintInvalidationDelayedFull:
pushDelayedPaintInvalidationTarget(const_cast<LayoutObject&>(m_currentObject));

Powered by Google App Engine
This is Rietveld 408576698