Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h

Issue 2299223002: Compile under-invalidation checking in all builds (Closed)
Patch Set: Resolve conflict Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
index de020e23af719b5f39c96d279d09bffbea2e02f8..c3cbb034033e151ee5fba50ab2025bbc5149dc03 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h
@@ -36,14 +36,12 @@ private:
#ifndef NDEBUG
void dumpPropertiesAsDebugString(WTF::StringBuilder&) const override;
#endif
-#if ENABLE(ASSERT)
bool equals(const DisplayItem& other) const final
{
return DisplayItem::equals(other)
&& m_clipRect == static_cast<const ClipDisplayItem&>(other).m_clipRect
&& m_roundedRectClips == static_cast<const ClipDisplayItem&>(other).m_roundedRectClips;
}
-#endif
const IntRect m_clipRect;
Vector<FloatRoundedRect> m_roundedRectClips;

Powered by Google App Engine
This is Rietveld 408576698