Index: third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h |
index 445ad79cf4ac16a3c9a2a26cc0bf92758bbf9b52..0a2c6591e24c6245a9132b51856967e4161eaa0d 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h |
@@ -33,6 +33,7 @@ private: |
#ifndef NDEBUG |
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override; |
#endif |
+#if ENABLE(ASSERT) |
bool equals(const DisplayItem& other) const final |
{ |
return DisplayItem::equals(other) |
@@ -40,6 +41,7 @@ private: |
&& m_bounds == static_cast<const BeginFilterDisplayItem&>(other).m_bounds |
&& m_origin == static_cast<const BeginFilterDisplayItem&>(other).m_origin; |
} |
+#endif |
// FIXME: m_imageFilter should be replaced with m_webFilterOperations when copying data to the compositor. |
sk_sp<SkImageFilter> m_imageFilter; |