diff options
Diffstat (limited to 'base/cancellation_flag.cc')
-rw-r--r-- | base/cancellation_flag.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/cancellation_flag.cc b/base/cancellation_flag.cc index 75b6025..50e30ec 100644 --- a/base/cancellation_flag.cc +++ b/base/cancellation_flag.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -10,7 +10,7 @@ namespace base { void CancellationFlag::Set() { #if !defined(NDEBUG) - DCHECK(set_on_ == PlatformThread::CurrentId()); + DCHECK_EQ(set_on_, PlatformThread::CurrentId()); #endif base::subtle::Release_Store(&flag_, 1); } |