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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/DisplayItemList.cpp

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/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);

Powered by Google App Engine
This is Rietveld 408576698