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

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

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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 97845c08d4644aacbb297611b571081dd404a169..20e10ff0f3aa86d534670c4a8749c52d9588a2f6 100644
--- a/third_party/WebKit/Source/platform/heap/PagePool.cpp
+++ b/third_party/WebKit/Source/platform/heap/PagePool.cpp
@@ -126,7 +126,7 @@ void OrphanedPagePool::clearMemory(PageMemory* memory) {
asanDisabledMemset(memory->writableStart(), 0, blinkPagePayloadSize());
}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool OrphanedPagePool::contains(void* object) {
for (int index = 0; index < BlinkGC::NumberOfArenas; ++index) {
for (PoolEntry* entry = m_pool[index]; entry; entry = entry->next) {
« no previous file with comments | « third_party/WebKit/Source/platform/heap/PagePool.h ('k') | third_party/WebKit/Source/platform/heap/Persistent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698