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

Unified Diff: Source/wtf/dtoa/cached-powers.cc

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/platform/image-decoders/ImageFrame.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/dtoa/cached-powers.cc
diff --git a/Source/wtf/dtoa/cached-powers.cc b/Source/wtf/dtoa/cached-powers.cc
index 162dd69c70938de2a22dacbaabbd940983dde9a5..91ac7319b5d580f94ad215e656b9b4a45b499b10 100644
--- a/Source/wtf/dtoa/cached-powers.cc
+++ b/Source/wtf/dtoa/cached-powers.cc
@@ -141,7 +141,7 @@ namespace double_conversion {
const int PowersOfTenCache::kMaxDecimalExponent = 340; // kCachedPowers[kCachedPowersLength - 1].decimal_exponent
#ifndef NDEBUG
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
static const int kCachedPowersLength = ARRAY_SIZE(kCachedPowers);
#endif
« no previous file with comments | « Source/platform/image-decoders/ImageFrame.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698