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

Unified Diff: third_party/WebKit/Source/wtf/StdLibExtras.h

Issue 2550403002: Make ifdefs consistent in WebKit/Source/wtf/ . (Closed)
Patch Set: Update after review. Created 4 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/StdLibExtras.h
diff --git a/third_party/WebKit/Source/wtf/StdLibExtras.h b/third_party/WebKit/Source/wtf/StdLibExtras.h
index 885f9ddfefeb6986d1271e251d66b59711ec1e8a..454e1a18904d7a4b03dead930d3ca2dc026a59f7 100644
--- a/third_party/WebKit/Source/wtf/StdLibExtras.h
+++ b/third_party/WebKit/Source/wtf/StdLibExtras.h
@@ -33,7 +33,7 @@
#include "wtf/TypeTraits.h"
#include <cstddef>
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
#include "wtf/Noncopyable.h"
#include "wtf/Threading.h"
@@ -90,7 +90,7 @@ class StaticLocalWrapper<T, true> {
}
};
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
#define DEFINE_STATIC_LOCAL_CHECK_THREADSAFE_ACCESS(Name) \
static StaticLocalVerifier Name##StaticLocalVerifier; \
ASSERT(Name##StaticLocalVerifier.isNotRacy())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698