| Index: base/synchronization/condition_variable.h
|
| diff --git a/base/synchronization/condition_variable.h b/base/synchronization/condition_variable.h
|
| index 4f744f80b27e54bfdee4c59e10d74c70e4c40273..5d8507d43730dbca5793d65c8a9caa582c193d2b 100644
|
| --- a/base/synchronization/condition_variable.h
|
| +++ b/base/synchronization/condition_variable.h
|
| @@ -104,7 +104,7 @@ class BASE_EXPORT ConditionVariable {
|
| #elif defined(OS_POSIX)
|
| pthread_cond_t condition_;
|
| pthread_mutex_t* user_mutex_;
|
| -#if !defined(NDEBUG)
|
| +#if !defined(NDEBUG) || defined(DCHECK_ALWAYS_ON)
|
| base::Lock* user_lock_; // Needed to adjust shadow lock state on wait.
|
| #endif
|
|
|
|
|