Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
index d46c21841377d670912c9999e3c1a84454f444b7..eae045d2ef5680049d4aa7f01e1d86429f74d490 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h |
@@ -232,7 +232,7 @@ class PLATFORM_EXPORT DisplayItem { |
virtual void replay(GraphicsContext&) const {} |
const DisplayItemClient& client() const { |
- ASSERT(m_client); |
+ DCHECK(m_client); |
return *m_client; |
} |
Type getType() const { return m_type; } |
@@ -267,12 +267,12 @@ class PLATFORM_EXPORT DisplayItem { |
"Categories " #Category1 " and " #Category2 \ |
" should have same number of enum values. See comments of " \ |
"DisplayItem::Type"); \ |
- ASSERT(is##Category1##Type(type)); \ |
+ DCHECK(is##Category1##Type(type)); \ |
return static_cast<Type>(type - k##Category1##First + \ |
k##Category2##First); \ |
} \ |
static Type category2##TypeTo##Category1##Type(Type type) { \ |
- ASSERT(is##Category2##Type(type)); \ |
+ DCHECK(is##Category2##Type(type)); \ |
return static_cast<Type>(type - k##Category2##First + \ |
k##Category1##First); \ |
} |