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

Unified Diff: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp

Issue 1159113003: [SP] Don't invalidate the whole scrolled tree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: NeedsRebaselines (see previous try result); Comments Created 5 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
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerPaintingInfo.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
diff --git a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
index e22534da688657165f6e1e08a74ed66aac68d8f3..b04e90d779ee783168fff559d18f391fcfe7aa77 100644
--- a/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
+++ b/Source/core/paint/DeprecatedPaintLayerScrollableArea.cpp
@@ -424,13 +424,8 @@ void DeprecatedPaintLayerScrollableArea::setScrollOffset(const DoublePoint& newS
requiresPaintInvalidation = true;
}
- // For slimming paint we need to fully invalidate during scrolling.
- if (requiresPaintInvalidation && RuntimeEnabledFeatures::slimmingPaintEnabled()) {
- DisablePaintInvalidationStateAsserts disabler;
- box().invalidatePaintIncludingNonCompositingDescendants();
- }
-
// Just schedule a full paint invalidation of our object.
+ // FIXME: This invalidation will be unnecessary in slimming paint phase 2.
if (requiresPaintInvalidation)
box().setShouldDoFullPaintInvalidation();
« no previous file with comments | « Source/core/paint/DeprecatedPaintLayerPaintingInfo.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698