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 42b1fd2fb0c9887e07acb078b5113f5bbb67cba5..12a374223f585bdc76d452a450367f771f6310c9 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h |
@@ -21,7 +21,7 @@ class PLATFORM_EXPORT ClipDisplayItem final : public PairedBeginDisplayItem { |
const IntRect& clipRect) |
: PairedBeginDisplayItem(client, type, sizeof(*this)), |
m_clipRect(clipRect) { |
- ASSERT(isClipType(type)); |
+ DCHECK(isClipType(type)); |
} |
ClipDisplayItem(const DisplayItemClient& client, |
@@ -56,7 +56,7 @@ class PLATFORM_EXPORT EndClipDisplayItem final : public PairedEndDisplayItem { |
public: |
EndClipDisplayItem(const DisplayItemClient& client, Type type) |
: PairedEndDisplayItem(client, type, sizeof(*this)) { |
- ASSERT(isEndClipType(type)); |
+ DCHECK(isEndClipType(type)); |
} |
void replay(GraphicsContext&) const override; |