Chromium Code Reviews| Index: base/threading/thread_local_win.cc |
| =================================================================== |
| --- base/threading/thread_local_win.cc (revision 106774) |
| +++ base/threading/thread_local_win.cc (working copy) |
| @@ -15,7 +15,7 @@ |
| // static |
| void ThreadLocalPlatform::AllocateSlot(SlotType& slot) { |
| slot = TlsAlloc(); |
| - CHECK_NE(slot, TLS_OUT_OF_INDEXES); |
| + DCHECK_NE(slot, TLS_OUT_OF_INDEXES); |
|
jar (doing other things)
2011/10/23 00:36:28
Again... I think we should stay with CHECK here.
|
| } |
| // static |
| @@ -33,7 +33,7 @@ |
| // static |
| void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) { |
| if (!TlsSetValue(slot, value)) { |
| - LOG(FATAL) << "Failed to TlsSetValue()."; |
| + DLOG(FATAL) << "Failed to TlsSetValue()."; |
|
jar (doing other things)
2011/10/23 00:36:28
This is fine IMO (as mentioned in posix file).
|
| } |
| } |