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

Unified Diff: third_party/WebKit/Source/platform/heap/PagePool.cpp

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/PagePool.cpp
diff --git a/third_party/WebKit/Source/platform/heap/PagePool.cpp b/third_party/WebKit/Source/platform/heap/PagePool.cpp
index 2277333d27e2a5f3021c615aaf1af1a9949427f2..4af09bca1f2a2890e6c3ca6a1c7a4e1694b6c0d8 100644
--- a/third_party/WebKit/Source/platform/heap/PagePool.cpp
+++ b/third_party/WebKit/Source/platform/heap/PagePool.cpp
@@ -21,7 +21,7 @@ PagePool::~PagePool() {
while (PoolEntry* entry = pool_[index]) {
pool_[index] = entry->next;
PageMemory* memory = entry->data;
- ASSERT(memory);
+ DCHECK(memory);
delete memory;
delete entry;
}
@@ -41,7 +41,7 @@ PageMemory* PagePool::Take(int index) {
while (PoolEntry* entry = pool_[index]) {
pool_[index] = entry->next;
PageMemory* memory = entry->data;
- ASSERT(memory);
+ DCHECK(memory);
delete entry;
if (memory->Commit())
return memory;

Powered by Google App Engine
This is Rietveld 408576698