From ad511f9375d25cdf8269150a2a65bc204f67eb1b Mon Sep 17 00:00:00 2001 From: "mbelshe@google.com" Date: Thu, 21 Aug 2008 21:22:22 +0000 Subject: Had the logic for detecting ifdef DEBUG wrong. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1188 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/chrome_constants.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome') 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; -- cgit v1.1