| Index: base/threading/thread_restrictions.cc
|
| diff --git a/base/threading/thread_restrictions.cc b/base/threading/thread_restrictions.cc
|
| index 00306c5ae7d6c8ea17fcc2170b08b11c15d257ce..5cf14450a47f8415379cf3d449f4c95ed625d992 100644
|
| --- a/base/threading/thread_restrictions.cc
|
| +++ b/base/threading/thread_restrictions.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "base/threading/thread_restrictions.h"
|
|
|
| -#if ENABLE_THREAD_RESTRICTIONS
|
| +#if DCHECK_IS_ON()
|
|
|
| #include "base/lazy_instance.h"
|
| #include "base/logging.h"
|
| @@ -82,4 +82,4 @@ bool ThreadRestrictions::SetWaitAllowed(bool allowed) {
|
|
|
| } // namespace base
|
|
|
| -#endif // ENABLE_THREAD_RESTRICTIONS
|
| +#endif // DCHECK_IS_ON()
|
|
|