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

Unified Diff: base/mac/mac_logging.h

Issue 195973002: Change DCHECK_IS_ON() to DCHECK_IS_ON (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: if() -> #if 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
Index: base/mac/mac_logging.h
diff --git a/base/mac/mac_logging.h b/base/mac/mac_logging.h
index 9a0003e9ad811a44c08d57de3ec622b9584eefa2..ecd9b6b0a0a10af7ad3c4fa4218309530c88f4bc 100644
--- a/base/mac/mac_logging.h
+++ b/base/mac/mac_logging.h
@@ -81,7 +81,7 @@ class BASE_EXPORT OSStatusLogMessage : public logging::LogMessage {
#define OSSTATUS_DCHECK(condition, status) \
LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), \
- DCHECK_IS_ON() && !(condition)) \
+ DCHECK_IS_ON && !(condition)) \
<< "Check failed: " # condition << ". "
#endif // BASE_MAC_MAC_LOGGING_H_

Powered by Google App Engine
This is Rietveld 408576698