diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 18:29:42 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-02 18:29:42 +0000 |
commit | 37199a82379c63b9daad59ba5bfb9ab99f23f7b9 (patch) | |
tree | 9ba5ed1b507fcc5d4882598760e16d8b3f69f4ef /base/thread_local_posix.cc | |
parent | 394337cffb08b083513f3f93c7137aea788af5fa (diff) | |
download | chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.zip chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.tar.gz chromium_src-37199a82379c63b9daad59ba5bfb9ab99f23f7b9.tar.bz2 |
Switch base to using CHECK_*.
Review URL: http://codereview.chromium.org/660357
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40394 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/thread_local_posix.cc')
-rw-r--r-- | base/thread_local_posix.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/thread_local_posix.cc b/base/thread_local_posix.cc index 4c29263..2abfc0e 100644 --- a/base/thread_local_posix.cc +++ b/base/thread_local_posix.cc @@ -13,7 +13,7 @@ namespace base { // static void ThreadLocalPlatform::AllocateSlot(SlotType& slot) { int error = pthread_key_create(&slot, NULL); - CHECK(error == 0); + CHECK_EQ(error, 0); } // static @@ -30,7 +30,7 @@ void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) { // static void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) { int error = pthread_setspecific(slot, value); - CHECK(error == 0); + CHECK_EQ(error, 0); } } // namespace base |