Index: chrome/browser/metrics/thread_watcher_android.cc |
diff --git a/chrome/browser/metrics/thread_watcher_android.cc b/chrome/browser/metrics/thread_watcher_android.cc |
index 67b92f09134dbaab9dd9f24d81c76f74bc6fe6ef..4af60b27aa89ff2ee6340e8c4a7603d117fea994 100644 |
--- a/chrome/browser/metrics/thread_watcher_android.cc |
+++ b/chrome/browser/metrics/thread_watcher_android.cc |
@@ -7,6 +7,7 @@ |
#include "base/android/application_status_listener.h" |
#include "base/command_line.h" |
#include "base/lazy_instance.h" |
+#include "base/logging.h" |
#include "chrome/browser/metrics/thread_watcher.h" |
namespace { |
@@ -40,7 +41,7 @@ void OnApplicationStateChange( |
struct LeakyApplicationStatusListenerTraits { |
static const bool kRegisterOnExit = false; |
-#ifndef NDEBUG |
+#if DCHECK_IS_ON() |
static const bool kAllowedToAccessOnNonjoinableThread = true; |
#endif |