Index: base/threading/thread_checker_unittest.cc |
diff --git a/base/threading/thread_checker_unittest.cc b/base/threading/thread_checker_unittest.cc |
index bc5b1e473a5fdc21ee01496a1e19f3fd66bde7c6..702a2de332150b2d9758936a051e40b6e23b72ab 100644 |
--- a/base/threading/thread_checker_unittest.cc |
+++ b/base/threading/thread_checker_unittest.cc |
@@ -13,7 +13,7 @@ |
// Duplicated from base/threading/thread_checker.h so that we can be |
// good citizens there and undef the macro. |
-#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON) |
+#if DCHECK_IS_ON() |
#define ENABLE_THREAD_CHECKER 1 |
danakj
2016/07/19 20:17:01
and here.. and in the thread_checker.h? https://cs
gab
2016/07/20 02:43:58
Done.
|
#else |
#define ENABLE_THREAD_CHECKER 0 |