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

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

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics Created 3 years, 8 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/FloatClipDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
index 18ac0a101bcf790398ebc17e7b1a7bf3b4cfd3d1..6f57a4edfb06bf75315b1c48f6409773f33aec99 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h
@@ -19,7 +19,7 @@ class PLATFORM_EXPORT FloatClipDisplayItem final
const FloatRect& clipRect)
: PairedBeginDisplayItem(client, type, sizeof(*this)),
m_clipRect(clipRect) {
- ASSERT(isFloatClipType(type));
+ DCHECK(isFloatClipType(type));
}
void replay(GraphicsContext&) const override;
@@ -44,7 +44,7 @@ class PLATFORM_EXPORT EndFloatClipDisplayItem final
public:
EndFloatClipDisplayItem(const DisplayItemClient& client, Type type)
: PairedEndDisplayItem(client, type, sizeof(*this)) {
- ASSERT(isEndFloatClipType(type));
+ DCHECK(isEndFloatClipType(type));
}
void replay(GraphicsContext&) const override;

Powered by Google App Engine
This is Rietveld 408576698