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

Unified Diff: Source/wtf/SizeLimits.cpp

Issue 397733004: Allow assertions to be enabled in Blink Release builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased. 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
« no previous file with comments | « Source/wtf/RefCountedLeakCounter.cpp ('k') | Source/wtf/TerminatedArrayBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/SizeLimits.cpp
diff --git a/Source/wtf/SizeLimits.cpp b/Source/wtf/SizeLimits.cpp
index 85c5ed5da9313274a3331a8841a02f378e05c159..2f22f1edb68a64274368cc62ba49b4c7285e498f 100644
--- a/Source/wtf/SizeLimits.cpp
+++ b/Source/wtf/SizeLimits.cpp
@@ -42,14 +42,14 @@
namespace WTF {
-#if !defined(NDEBUG) || ENABLE(SECURITY_ASSERT)
+#if ENABLE(ASSERT) || ENABLE(SECURITY_ASSERT)
// The debug/assertion version may get bigger.
struct SameSizeAsRefCounted {
int a;
#if ENABLE(SECURITY_ASSERT)
bool b;
#endif
-#if !defined(NDEBUG)
+#if ENABLE(ASSERT)
bool c;
ThreadRestrictionVerifier d;
#endif
« no previous file with comments | « Source/wtf/RefCountedLeakCounter.cpp ('k') | Source/wtf/TerminatedArrayBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698