Index: chrome/browser/lifetime/keep_alive_types.cc |
diff --git a/chrome/browser/lifetime/keep_alive_types.cc b/chrome/browser/lifetime/keep_alive_types.cc |
index 13a40e0901682a217fd2c7fe02abffb3dc1dabef..173f417eaee7077899e718db72f89a43842db297 100644 |
--- a/chrome/browser/lifetime/keep_alive_types.cc |
+++ b/chrome/browser/lifetime/keep_alive_types.cc |
@@ -5,7 +5,7 @@ |
#include "chrome/browser/lifetime/keep_alive_types.h" |
#include "base/logging.h" |
-#ifndef NDEBUG |
+#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON) |
std::ostream& operator<<(std::ostream& out, const KeepAliveOrigin& origin) { |
switch (origin) { |
case KeepAliveOrigin::APP_CONTROLLER: |
@@ -59,4 +59,4 @@ std::ostream& operator<<(std::ostream& out, |
return out << static_cast<int>(restart); |
} |
-#endif // ndef NDEBUG |
+#endif |