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

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: 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/wtf/SizeLimits.cpp
diff --git a/Source/wtf/SizeLimits.cpp b/Source/wtf/SizeLimits.cpp
index 9b591fb27adb8cb9befe49e168daf2e70e377806..2f22f1edb68a64274368cc62ba49b4c7285e498f 100644
--- a/Source/wtf/SizeLimits.cpp
+++ b/Source/wtf/SizeLimits.cpp
@@ -42,14 +42,14 @@
namespace WTF {
-#if !defined(NDEBUG) || SECURITY_ASSERT_ENABLED
+#if ENABLE(ASSERT) || ENABLE(SECURITY_ASSERT)
// The debug/assertion version may get bigger.
struct SameSizeAsRefCounted {
int a;
-#if SECURITY_ASSERT_ENABLED
+#if ENABLE(SECURITY_ASSERT)
bool b;
#endif
-#if !defined(NDEBUG)
+#if ENABLE(ASSERT)
bool c;
ThreadRestrictionVerifier d;
#endif

Powered by Google App Engine
This is Rietveld 408576698