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

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

Issue 2807923002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/graphics (Closed)
Patch Set: fix typo 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/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 74883656f480496f49aba4421668058b26ef4df9..7cd25283395a94276213c27b903b41278216fe30 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& clip_rect)
: PairedBeginDisplayItem(client, type, sizeof(*this)),
clip_rect_(clip_rect) {
- 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;

Powered by Google App Engine
This is Rietveld 408576698