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

Unified Diff: third_party/WebKit/Source/platform/heap/GCInfo.h

Issue 2816033003: Replace ASSERT with DHCECK_op in platform/heap (Closed)
Patch Set: Replace ASSERT with CHECK_op in platform/heap 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/heap/GCInfo.h
diff --git a/third_party/WebKit/Source/platform/heap/GCInfo.h b/third_party/WebKit/Source/platform/heap/GCInfo.h
index bdc285466f9c2ffe30f704b981751ef16927a3dc..edeb5ee197cd70598816559c6f835ebaaa3c3863 100644
--- a/third_party/WebKit/Source/platform/heap/GCInfo.h
+++ b/third_party/WebKit/Source/platform/heap/GCInfo.h
@@ -198,11 +198,11 @@ struct GCInfoAtBaseType {
};
static size_t gc_info_index = 0;
- ASSERT(g_gc_info_table);
+ DCHECK(g_gc_info_table);
if (!AcquireLoad(&gc_info_index))
GCInfoTable::EnsureGCInfoIndex(&kGcInfo, &gc_info_index);
- ASSERT(gc_info_index >= 1);
- ASSERT(gc_info_index < GCInfoTable::kMaxIndex);
+ DCHECK_GE(gc_info_index, 1u);
+ DCHECK(gc_info_index < GCInfoTable::kMaxIndex);
return gc_info_index;
}
};
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/heap/GCInfo.cpp » ('j') | third_party/WebKit/Source/platform/heap/GCInfo.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698