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 1006ad5aea2d4b759fcfdc462b726fa40df4f474..e4f80868b50075dff824314b1de36b7ed924fbbe 100644 |
--- a/chrome/browser/metrics/thread_watcher_android.cc |
+++ b/chrome/browser/metrics/thread_watcher_android.cc |
@@ -39,7 +39,9 @@ void OnApplicationStateChange( |
struct LeakyApplicationStatusListenerTraits { |
static const bool kRegisterOnExit = false; |
+#ifndef NDEBUG |
static const bool kAllowedToAccessOnNonjoinableThread = true; |
+#endif |
static base::android::ApplicationStatusListener* New(void* instance) { |
ANNOTATE_SCOPED_MEMORY_LEAK; |