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

Unified Diff: Source/platform/graphics/paint/DrawingRecorder.h

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
Index: Source/platform/graphics/paint/DrawingRecorder.h
diff --git a/Source/platform/graphics/paint/DrawingRecorder.h b/Source/platform/graphics/paint/DrawingRecorder.h
index 2d399a65197d52aa81166690650d6defc74b98d9..bbc14bf4fb65480d2648404dcf36ba027b035970 100644
--- a/Source/platform/graphics/paint/DrawingRecorder.h
+++ b/Source/platform/graphics/paint/DrawingRecorder.h
@@ -8,7 +8,7 @@
#include "platform/PlatformExport.h"
#include "platform/geometry/FloatRect.h"
-#include "platform/graphics/paint/DisplayItem.h"
+#include "platform/graphics/paint/DrawingDisplayItem.h"
#ifndef NDEBUG
#include "wtf/text/WTFString.h"
@@ -32,7 +32,7 @@ public:
}
#if ENABLE(ASSERT)
- void setSkipUnderInvalidationChecking() { m_skipUnderInvalidationChecking = true; }
+ void setUnderInvalidationCheckingMode(DrawingDisplayItem::UnderInvalidationCheckingMode mode) { m_underInvalidationCheckingMode = mode; }
#endif
private:
@@ -43,7 +43,7 @@ private:
#if ENABLE(ASSERT)
mutable bool m_checkedCachedDrawing;
size_t m_displayItemPosition;
- bool m_skipUnderInvalidationChecking;
+ DrawingDisplayItem::UnderInvalidationCheckingMode m_underInvalidationCheckingMode;
#endif
};
« no previous file with comments | « Source/platform/graphics/paint/DrawingDisplayItem.h ('k') | Source/platform/graphics/paint/DrawingRecorder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698