Index: base/logging.h |
diff --git a/base/logging.h b/base/logging.h |
index 54ff57970abe2b5a63507ce77e11f5ae698ef457..6a1df765895c23c0e5211497e63a6a5fba8dc54f 100644 |
--- a/base/logging.h |
+++ b/base/logging.h |
@@ -701,7 +701,7 @@ const LogSeverity LOG_DCHECK = LOG_INFO; |
#define DCHECK_GT(val1, val2) DCHECK_OP(GT, > , val1, val2) |
#define DCHECK_IMPLIES(val1, val2) DCHECK(!(val1) || (val2)) |
-#if defined(NDEBUG) && defined(OS_CHROMEOS) |
+#if !DCHECK_IS_ON && defined(OS_CHROMEOS) |
#define NOTREACHED() LOG(ERROR) << "NOTREACHED() hit in " << \ |
__FUNCTION__ << ". " |
#else |