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 |