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 f679bb31fa90724425f7b16fb30f7d5540087b74..c2d954a5e8b802ed3c5ec8bb96a3606805c6ef84 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h |
@@ -24,17 +24,16 @@ 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; |
} |
-#endif |
+ |
+ const SkPath m_clipPath; |
}; |
class PLATFORM_EXPORT EndClipPathDisplayItem final : public PairedEndDisplayItem { |