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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.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/Transform3DDisplayItem.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h
index d6483f4f8ee4f678cb9e02dd430b34d8bea00e64..32d71eeee1c690e58c33d169897e9c0a68a4d3d2 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h
@@ -22,7 +22,7 @@ class PLATFORM_EXPORT BeginTransform3DDisplayItem final
: PairedBeginDisplayItem(client, type, sizeof(*this)),
m_transform(transform),
m_transformOrigin(transformOrigin) {
- ASSERT(DisplayItem::isTransform3DType(type));
+ DCHECK(DisplayItem::isTransform3DType(type));
}
void replay(GraphicsContext&) const override;
@@ -55,7 +55,7 @@ class PLATFORM_EXPORT EndTransform3DDisplayItem final
public:
EndTransform3DDisplayItem(const DisplayItemClient& client, Type type)
: PairedEndDisplayItem(client, type, sizeof(*this)) {
- ASSERT(DisplayItem::isEndTransform3DType(type));
+ DCHECK(DisplayItem::isEndTransform3DType(type));
}
void replay(GraphicsContext&) const override;

Powered by Google App Engine
This is Rietveld 408576698