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

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: Check bitmaps for HTML canvas drawings only 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') | Source/core/paint/HTMLCanvasPainter.cpp » ('J')
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..535068dedaceef9a3ccaa1418b3a1dd79ede394e 100644
--- a/Source/core/paint/BoxPainter.cpp
+++ b/Source/core/paint/BoxPainter.cpp
@@ -101,7 +101,7 @@ void BoxPainter::paintBoxDecorationBackgroundWithRect(const PaintInfo& paintInfo
// 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.
if (style.appearance() == MediaSliderPart)
- recorder.setSkipUnderInvalidationChecking();
+ recorder.setUnderInvalidationCheckingMode(DrawingDisplayItem::DontCheck);
chrishtr 2015/06/01 21:35:37 Wrong indentation.
Xianzhu 2015/06/01 21:43:18 It looks correct to me (4-space indent at line 103
#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') | Source/core/paint/HTMLCanvasPainter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698