Index: third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
index f8b0e541278ad65c1ebafbd91d1efcac10a052e4..9b012fdd882d98178704f986bf65dd2d7f85ced9 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h |
@@ -29,13 +29,11 @@ private: |
#ifndef NDEBUG |
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const final; |
#endif |
-#if ENABLE(ASSERT) |
bool equals(const DisplayItem& other) const final |
{ |
return DisplayItem::equals(other) |
&& m_currentOffset == static_cast<const BeginScrollDisplayItem&>(other).m_currentOffset; |
} |
-#endif |
const IntSize m_currentOffset; |
}; |