Index: base/logging.h |
diff --git a/base/logging.h b/base/logging.h |
index 859f2602fc77a29548a4ae175cb28a73b1c6245a..71f391f8aff3d1d5b1f4f35e66a7b961b9cb0a53 100644 |
--- a/base/logging.h |
+++ b/base/logging.h |
@@ -776,7 +776,12 @@ const LogSeverity LOG_DCHECK = LOG_INFO; |
#define DCHECK_GE(val1, val2) DCHECK_OP(GE, >=, val1, val2) |
#define DCHECK_GT(val1, val2) DCHECK_OP(GT, > , val1, val2) |
+#if defined(NDEBUG) && defined(OS_CHROMEOS) |
+#define NOTREACHED() LOG(ERROR) << "NOTREACHED() hit in " << \ |
+ __FUNCTION__ << ". " |
+#else |
#define NOTREACHED() DCHECK(false) |
+#endif |
// Redefine the standard assert to use our nice log files |
#undef assert |