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

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: Fixed config.gni. Minor cleanups. 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 6e1c337efe00f3f7652cd2c17e03787bb786821f..53b24cc2576bbebb7936a9aa1ddd8fd88b585d8a 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