Index: base/mac/mac_logging.h |
diff --git a/base/mac/mac_logging.h b/base/mac/mac_logging.h |
index 1081490ec4a657e40b03668f7fe3ed3a74bc1762..5192b208f1ce844c2e08eb815ff3524d2a93477f 100644 |
--- a/base/mac/mac_logging.h |
+++ b/base/mac/mac_logging.h |
@@ -87,9 +87,9 @@ class BASE_EXPORT OSStatusLogMessage : public logging::LogMessage { |
LAZY_STREAM(OSSTATUS_VLOG_STREAM(verbose_level, status), \ |
MAC_DVLOG_IS_ON(verbose_level) && (condition)) |
-#define OSSTATUS_DCHECK(condition, status) \ |
- LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), \ |
- DCHECK_IS_ON && !(condition)) \ |
- << "Check failed: " # condition << ". " |
+#define OSSTATUS_DCHECK(condition, status) \ |
+ LAZY_STREAM(OSSTATUS_LOG_STREAM(FATAL, status), \ |
+ DCHECK_IS_ON() && !(condition)) \ |
+ << "Check failed: " #condition << ". " |
#endif // BASE_MAC_MAC_LOGGING_H_ |