Index: base/threading/non_thread_safe_unittest.cc |
diff --git a/base/threading/non_thread_safe_unittest.cc b/base/threading/non_thread_safe_unittest.cc |
index d523fc55b101904f601adb63b4dc09f01c540972..9f6d8f9f89f71a799b121bc941d7e32def001eaa 100644 |
--- a/base/threading/non_thread_safe_unittest.cc |
+++ b/base/threading/non_thread_safe_unittest.cc |
@@ -13,7 +13,7 @@ |
// Duplicated from base/threading/non_thread_safe.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_NON_THREAD_SAFE 1 |
danakj
2016/07/19 20:17:01
and here..
gab
2016/07/20 02:43:58
Done.
|
#else |
#define ENABLE_NON_THREAD_SAFE 0 |