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

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

Issue 2299223002: Compile under-invalidation checking in all builds (Closed)
Patch Set: Created 4 years, 3 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/paint/BoxPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxPainter.cpp b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
index bdbcfe138b6a2d2abeca70970efc62bee923cf8a..b8149222ab70dc5d5adbc6a521ab69610ae1032c 100644
--- a/third_party/WebKit/Source/core/paint/BoxPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxPainter.cpp
@@ -106,7 +106,7 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect(const PaintInfo& paintInfo
Optional<DisplayItemCacheSkipper> cacheSkipper;
// Disable cache in under-invalidation checking mode for MediaSliderPart because we always paint using the
// latest data (buffered ranges, current time and duration) which may be different from the cached data.
- if ((RuntimeEnabledFeatures::slimmingPaintUnderInvalidationCheckingEnabled() && style.appearance() == MediaSliderPart)
+ if ((RuntimeEnabledFeatures::paintUnderInvalidationCheckingEnabled() && style.appearance() == MediaSliderPart)
// We may paint a delayed-invalidation object before it's actually invalidated. Note this would be handled for
// us by LayoutObjectDrawingRecorder but we have to use DrawingRecorder as we may use the scrolling contents
// layer as DisplayItemClient below.

Powered by Google App Engine
This is Rietveld 408576698