| Index: base/synchronization/cancellation_flag.cc
|
| diff --git a/base/synchronization/cancellation_flag.cc b/base/synchronization/cancellation_flag.cc
|
| index ca5c0a82837070742e63914f79e57d924721efd4..369080e59d0eb09b24fbc8650b39b8f622704aac 100644
|
| --- a/base/synchronization/cancellation_flag.cc
|
| +++ b/base/synchronization/cancellation_flag.cc
|
| @@ -4,12 +4,10 @@
|
|
|
| #include "base/synchronization/cancellation_flag.h"
|
|
|
| -#include "base/logging.h"
|
| -
|
| namespace base {
|
|
|
| void CancellationFlag::Set() {
|
| -#if !defined(NDEBUG)
|
| +#if DCHECK_IS_ON()
|
| DCHECK_EQ(set_on_, PlatformThread::CurrentId());
|
| #endif
|
| base::subtle::Release_Store(&flag_, 1);
|
|
|