summaryrefslogtreecommitdiffstats
path: root/base/cancellation_flag.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 02:43:38 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-15 02:43:38 +0000
commit528e07b4e972d01abff8cab24e65c29a668fea23 (patch)
treec55cfec213dae3584b287503645fc032783e596e /base/cancellation_flag.cc
parent08d3022ce28d9c19241ef0298d3fe500f781c870 (diff)
downloadchromium_src-528e07b4e972d01abff8cab24e65c29a668fea23.zip
chromium_src-528e07b4e972d01abff8cab24e65c29a668fea23.tar.gz
chromium_src-528e07b4e972d01abff8cab24e65c29a668fea23.tar.bz2
Replace a DCHECK with DCHECK_EQ.
BUG=none TEST=none Review URL: http://codereview.chromium.org/2919013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/cancellation_flag.cc')
-rw-r--r--base/cancellation_flag.cc4
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);
}