| 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())
|
|
|