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 d2243e1cd984e2d2efb9be9a8d340de3478ebf6e..474a7d1227849603edd9eeedbc4390d0142ce834 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 original_debug_string = 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(original_debug_string); |