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

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: 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/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 d8a6bf23ed1f75dc82c77dd89378361966db7015..46d91b11e85cb4c7940b5156ed9e890314c4261b 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)),
transform_(transform),
transform_origin_(transform_origin) {
- ASSERT(DisplayItem::IsTransform3DType(type));
+ DCHECK(DisplayItem::IsTransform3DType(type));
}
void Replay(GraphicsContext&) const override;
@@ -54,7 +54,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