| Index: base/synchronization/lock.cc
|
| diff --git a/base/synchronization/lock.cc b/base/synchronization/lock.cc
|
| index 7c7ee9dc5a966f30229f1ed198ef2f5b7e9dd510..b1576c50c713186f95f9c3d190d635b825996098 100644
|
| --- a/base/synchronization/lock.cc
|
| +++ b/base/synchronization/lock.cc
|
| @@ -6,7 +6,7 @@
|
| // is functionally a wrapper around the LockImpl class, so the only
|
| // real intelligence in the class is in the debugging logic.
|
|
|
| -#if !defined(NDEBUG)
|
| +#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
|
|
|
| #include "base/synchronization/lock.h"
|
| #include "base/logging.h"
|
| @@ -36,4 +36,4 @@ void Lock::CheckUnheldAndMark() {
|
|
|
| } // namespace base
|
|
|
| -#endif // NDEBUG
|
| +#endif // !NDEBUG || DCHECK_ALWAYS_ON
|
|
|