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

Unified Diff: Source/wtf/DateMath.cpp

Issue 216313002: Introduce ASSERT_ENABLED macro. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/BloomFilter.h ('k') | Source/wtf/StringHasher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/DateMath.cpp
diff --git a/Source/wtf/DateMath.cpp b/Source/wtf/DateMath.cpp
index 142cfebbe484a5905f9948683a3064d56166c098..2e1dbf4193a092717977a0e7cda37ec4c3ccfdbc 100644
--- a/Source/wtf/DateMath.cpp
+++ b/Source/wtf/DateMath.cpp
@@ -454,7 +454,7 @@ double calculateDSTOffset(double ms, double utcOffset)
void initializeDates()
{
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
static bool alreadyInitialized;
ASSERT(!alreadyInitialized);
alreadyInitialized = true;
« no previous file with comments | « Source/wtf/BloomFilter.h ('k') | Source/wtf/StringHasher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698