Index: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
index c3cbb034033e151ee5fba50ab2025bbc5149dc03..de020e23af719b5f39c96d279d09bffbea2e02f8 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
@@ -36,12 +36,14 @@ |
#ifndef NDEBUG |
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override; |
#endif |
+#if ENABLE(ASSERT) |
bool equals(const DisplayItem& other) const final |
{ |
return DisplayItem::equals(other) |
&& m_clipRect == static_cast<const ClipDisplayItem&>(other).m_clipRect |
&& m_roundedRectClips == static_cast<const ClipDisplayItem&>(other).m_roundedRectClips; |
} |
+#endif |
const IntRect m_clipRect; |
Vector<FloatRoundedRect> m_roundedRectClips; |