Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4101)

Unified Diff: base/threading/non_thread_safe_unittest.cc

Issue 2163023002: Unify usage of logging/assert macros in base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698