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

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

Issue 2706553002: Remove force-update when visual rects change (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0548d0fafb2748aa0c73f1f1a6a4143f93290d5b..069ef463a345405925f7ae9bdf6d81099a8851e6 100644
--- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
@@ -434,17 +434,6 @@ void PaintInvalidator::invalidatePaintIfNeeded(
context.forcedSubtreeInvalidationFlags |=
PaintInvalidatorContext::ForcedSubtreeInvalidationChecking;
}
-
- // TODO(crbug.com/490725): This is a workaround for the bug, to force
- // descendant to update visual rects on clipping change.
- if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() &&
- context.oldVisualRect != context.newVisualRect
- // Note that isLayoutView() below becomes unnecessary after the launch of
- // root layer scrolling.
- && (object.hasOverflowClip() || object.isLayoutView()) &&
- !toLayoutBox(object).usesCompositedScrolling())
- context.forcedSubtreeInvalidationFlags |=
- PaintInvalidatorContext::ForcedSubtreeInvalidationRectUpdate;
Xianzhu 2017/02/21 19:31:00 We still need to set the flag on ancestor clip cha
chrishtr 2017/02/27 21:15:36 Is this test exhibiting a case where the paint inv
}
void PaintInvalidator::processPendingDelayedPaintInvalidations() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698