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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h

Issue 2299223002: Compile under-invalidation checking in all builds (Closed)
Patch Set: Resolve conflict 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/platform/graphics/paint/DisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
index 0cc8cf31997441ee3289b0ae76d1314c6df377de..8b30934f08666cc213feb96694f739a601755e43 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h
@@ -303,6 +303,8 @@ public:
#if DCHECK_IS_ON()
virtual bool isEndAndPairedWith(DisplayItem::Type otherType) const { return false; }
+#endif
+
virtual bool equals(const DisplayItem& other) const
{
return m_client == other.m_client
@@ -310,7 +312,6 @@ public:
&& m_derivedSize == other.m_derivedSize
&& m_skippedCache == other.m_skippedCache;
}
-#endif
// True if the client is non-null. Because m_client is const, this should
// never be false except when we explicitly create a tombstone/"dead display

Powered by Google App Engine
This is Rietveld 408576698