Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4105)

Unified Diff: base/threading/thread_local_posix.cc

Issue 8368009: Replace most LOG statements with DLOG statements in base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/threading/thread_local_posix.cc
===================================================================
--- base/threading/thread_local_posix.cc (revision 106774)
+++ base/threading/thread_local_posix.cc (working copy)
@@ -15,7 +15,7 @@
// static
void ThreadLocalPlatform::AllocateSlot(SlotType& slot) {
int error = pthread_key_create(&slot, NULL);
- CHECK_EQ(error, 0);
+ DCHECK_EQ(error, 0);
jar (doing other things) 2011/10/23 00:36:28 There is a chance that we'll exhaust TLS slots, an
}
// static
@@ -32,7 +32,7 @@
// static
void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) {
int error = pthread_setspecific(slot, value);
- CHECK_EQ(error, 0);
+ DCHECK_EQ(error, 0);
jar (doing other things) 2011/10/23 00:36:28 I'm fine with this, as it should only happen when
}
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698