Index: third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
index c2d954a5e8b802ed3c5ec8bb96a3606805c6ef84..f679bb31fa90724425f7b16fb30f7d5540087b74 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
@@ -24,16 +24,17 @@ public: |
void analyzeForGpuRasterization(SkPictureGpuAnalyzer&) const override; |
private: |
+ const SkPath m_clipPath; |
#ifndef NDEBUG |
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override; |
#endif |
+#if ENABLE(ASSERT) |
bool equals(const DisplayItem& other) const final |
{ |
return DisplayItem::equals(other) |
&& m_clipPath == static_cast<const BeginClipPathDisplayItem&>(other).m_clipPath; |
} |
- |
- const SkPath m_clipPath; |
+#endif |
}; |
class PLATFORM_EXPORT EndClipPathDisplayItem final : public PairedEndDisplayItem { |