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

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

Issue 1160223004: Avoid false-positives of under-invalidation checking (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix build break (release w/ assert) 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 | « no previous file | Source/core/paint/HTMLCanvasPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/BoxPainter.cpp
diff --git a/Source/core/paint/BoxPainter.cpp b/Source/core/paint/BoxPainter.cpp
index 83ecb5abd8d4154346ddff31205527813becbac5..b9d4db19ca01ffe9fa9675877e060fdb80001d35 100644
--- a/Source/core/paint/BoxPainter.cpp
+++ b/Source/core/paint/BoxPainter.cpp
@@ -98,10 +98,10 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect(const PaintInfo& paintInfo
BoxDecorationData boxDecorationData(m_layoutBox);
#if ENABLE(ASSERT)
- // For now we don't have notification on media buffered range change from media player
- // and miss paint invalidation on buffered range chagne. crbug.com/484288.
+ // FIXME: For now we don't have notification on media buffered range change from media player
+ // and miss paint invalidation on buffered range change. crbug.com/484288.
if (style.appearance() == MediaSliderPart)
- recorder.setSkipUnderInvalidationChecking();
+ recorder.setUnderInvalidationCheckingMode(DrawingDisplayItem::DontCheck);
#endif
// FIXME: Should eventually give the theme control over whether the box shadow should paint, since controls could have
« no previous file with comments | « no previous file | Source/core/paint/HTMLCanvasPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698