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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapCompact.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/HeapCompact.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapCompact.cpp b/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
index 591caef5627387ef155a6ff1a8009b98f1199e79..76b9ed8204fa78f4796e9ad6d324798a2a855044 100644
--- a/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapCompact.cpp
@@ -87,7 +87,7 @@ class HeapCompact::MovableObjectFixups final {
blinkPageAddress(slotAddress) + blinkGuardPageSize);
if (LIKELY(!m_relocatablePages.contains(slotPage)))
return;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
DCHECK(slotPage->contains(slotAddress));
#endif
// Unlikely case, the slot resides on a compacting arena's page.
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapAllocator.h ('k') | third_party/WebKit/Source/platform/heap/HeapPage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698