Index: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
index 2d0b6a791c30bf4f102efd6dff3c547112ff23a0..054da8b888f0d87d400e0815ad486231bc09ec51 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
+++ b/third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp |
@@ -19,13 +19,13 @@ DisplayItem& DisplayItemList::appendByMoving(DisplayItem& item) { |
#ifndef NDEBUG |
String originalDebugString = item.asDebugString(); |
#endif |
- ASSERT(item.hasValidClient()); |
+ DCHECK(item.hasValidClient()); |
DisplayItem& result = |
ContiguousContainer::appendByMoving(item, item.derivedSize()); |
// ContiguousContainer::appendByMoving() calls an in-place constructor |
// on item which replaces it with a tombstone/"dead display item" that |
// can be safely destructed but should never be used. |
- ASSERT(!item.hasValidClient()); |
+ DCHECK(!item.hasValidClient()); |
#ifndef NDEBUG |
// Save original debug string in the old item to help debugging. |
item.setClientDebugString(originalDebugString); |