Index: third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
index f7bf34d06241ede44e2c80868178140b351f4785..5a47632e84757b9515c1abba250ba22caf2a80cd 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ForeignLayerDisplayItem.cpp |
@@ -46,11 +46,13 @@ |
return true; |
} |
+#if ENABLE(ASSERT) |
bool ForeignLayerDisplayItem::equals(const DisplayItem& other) const |
{ |
return DisplayItem::equals(other) |
&& m_layer == static_cast<const ForeignLayerDisplayItem&>(other).m_layer; |
} |
+#endif // ENABLE(ASSERT) |
#ifndef NDEBUG |
void ForeignLayerDisplayItem::dumpPropertiesAsDebugString(StringBuilder& stringBuilder) const |