Index: third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h |
index 110267b76134f3244b2b6b8fa994145c3396bd6e..b25dcd59e8cb455d3fd6eb92dbe91689a6deba0c 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h |
@@ -36,12 +36,14 @@ |
#ifndef NDEBUG |
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const final; |
#endif |
+#if ENABLE(ASSERT) |
bool equals(const DisplayItem& other) const final |
{ |
return DisplayItem::equals(other) |
&& m_transform == static_cast<const BeginTransform3DDisplayItem&>(other).m_transform |
&& m_transformOrigin == static_cast<const BeginTransform3DDisplayItem&>(other).m_transformOrigin; |
} |
+#endif |
const TransformationMatrix m_transform; |
const FloatPoint3D m_transformOrigin; |