diff options
author | kushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-04 01:29:38 +0000 |
---|---|---|
committer | kushi.p@gmail.com <kushi.p@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-04 01:29:38 +0000 |
commit | e1be56dcd226056bb8af7f82bc1752bb289aa14b (patch) | |
tree | 46e3bf1eaa6d8d8c7f5180261643040c51e03e45 /base/threading/thread_local_posix.cc | |
parent | 15a2084decf18de467200317261d2d6c8d5e631b (diff) | |
download | chromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.zip chromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.tar.gz chromium_src-e1be56dcd226056bb8af7f82bc1752bb289aa14b.tar.bz2 |
Updating logging in src/base/. Using DCHECK_NE/EQ/LE/GE/GT() where possible
BUG=58409
Review URL: http://codereview.chromium.org/6883295
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84016 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/threading/thread_local_posix.cc')
-rw-r--r-- | base/threading/thread_local_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/threading/thread_local_posix.cc b/base/threading/thread_local_posix.cc index 568fa4b..2071ad8 100644 --- a/base/threading/thread_local_posix.cc +++ b/base/threading/thread_local_posix.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -21,7 +21,7 @@ void ThreadLocalPlatform::AllocateSlot(SlotType& slot) { // static void ThreadLocalPlatform::FreeSlot(SlotType& slot) { int error = pthread_key_delete(slot); - DCHECK(error == 0); + DCHECK_EQ(0, error); } // static |