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