| Index: base/threading/thread_restrictions.cc
|
| diff --git a/base/threading/thread_restrictions.cc b/base/threading/thread_restrictions.cc
|
| index c3e672df531bc02f220fed79924dec751f5821e3..93a452ff59fc1bea70dc9d31b214bfd35679dcfc 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"
|
| @@ -86,4 +86,4 @@ bool ThreadRestrictions::SetWaitAllowed(bool allowed) {
|
|
|
| } // namespace base
|
|
|
| -#endif // ENABLE_THREAD_RESTRICTIONS
|
| +#endif // DCHECK_IS_ON()
|
|
|