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

Unified Diff: Source/platform/heap/Visitor.cpp

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased after ENABLE(ASSERT) renaming. Created 6 years, 5 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: Source/platform/heap/Visitor.cpp
diff --git a/Source/platform/heap/Visitor.cpp b/Source/platform/heap/Visitor.cpp
index dc115595a90cd6982d7bd515297889254be77950..41933ec32d8baed7674f1c42454743dfd7ec4ae7 100644
--- a/Source/platform/heap/Visitor.cpp
+++ b/Source/platform/heap/Visitor.cpp
@@ -36,7 +36,7 @@
namespace WebCore {
-#ifndef NDEBUG
+#if ENABLE(ASSERT)
void Visitor::checkGCInfo(const void* payload, const GCInfo* gcInfo)
{
FinalizedHeapObjectHeader::fromPayload(payload)->checkHeader();

Powered by Google App Engine
This is Rietveld 408576698