Index: base/android/build_info.cc |
diff --git a/base/android/build_info.cc b/base/android/build_info.cc |
index ef8f572497d63d459592b63fcb169037af7f2d4b..b916cbf5cde53801db2ce80575e02de0b929f8a0 100644 |
--- a/base/android/build_info.cc |
+++ b/base/android/build_info.cc |
@@ -38,7 +38,7 @@ struct BuildInfoSingletonTraits { |
} |
static const bool kRegisterAtExit = false; |
-#ifndef NDEBUG |
+#if DCHECK_IS_ON() |
static const bool kAllowedToAccessOnNonjoinableThread = true; |
#endif |
}; |