summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_constants.cc
diff options
context:
space:
mode:
authormbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 21:22:22 +0000
committermbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-21 21:22:22 +0000
commitad511f9375d25cdf8269150a2a65bc204f67eb1b (patch)
treeefe4c3715c0a895766c443aecfee456bbd4c9848 /chrome/common/chrome_constants.cc
parentc8fd87d37b6ad34f519b07f16a2f48b4cf3936dc (diff)
downloadchromium_src-ad511f9375d25cdf8269150a2a65bc204f67eb1b.zip
chromium_src-ad511f9375d25cdf8269150a2a65bc204f67eb1b.tar.gz
chromium_src-ad511f9375d25cdf8269150a2a65bc204f67eb1b.tar.bz2
Had the logic for detecting ifdef DEBUG wrong.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1188 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_constants.cc')
-rw-r--r--chrome/common/chrome_constants.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_constants.cc b/chrome/common/chrome_constants.cc
index a85b115..ce6f32d 100644
--- a/chrome/common/chrome_constants.cc
+++ b/chrome/common/chrome_constants.cc
@@ -67,7 +67,7 @@ const int kStatsMaxCounters = 300;
// potentially be tricked into running a product in record mode without
// knowing it. Enable in debug builds. Playback mode is allowed always,
// because it is useful for testing and not hazardous by itself.
-#ifdef DEBUG
+#ifndef NDEBUG
const bool kRecordModeEnabled = true;
#else
const bool kRecordModeEnabled = false;