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

Unified Diff: base/mac/mac_logging.h

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « base/mac/libdispatch_task_runner_unittest.cc ('k') | base/mac/mach_logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « base/mac/libdispatch_task_runner_unittest.cc ('k') | base/mac/mach_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698