summaryrefslogtreecommitdiffstats
path: root/base/thread_local_win.cc
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 00:43:22 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-05 00:43:22 +0000
commit8e6b2c1c965662a2ac519423f2d2bcde692e6a3d (patch)
treeee9f699ebf81fdccfcbb3267c69543c13e80bc66 /base/thread_local_win.cc
parent88e326c6ec37d2c7aed12f9d5f1a5a3242ba1908 (diff)
downloadchromium_src-8e6b2c1c965662a2ac519423f2d2bcde692e6a3d.zip
chromium_src-8e6b2c1c965662a2ac519423f2d2bcde692e6a3d.tar.gz
chromium_src-8e6b2c1c965662a2ac519423f2d2bcde692e6a3d.tar.bz2
Replace CHECK(false) by LOG(FATAL) where appropriate.
The difference is that the error message doesn't contain "Assertion failed: false". Review URL: http://codereview.chromium.org/1970001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/thread_local_win.cc')
-rw-r--r--base/thread_local_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread_local_win.cc b/base/thread_local_win.cc
index 27a894c..368c0d6 100644
--- a/base/thread_local_win.cc
+++ b/base/thread_local_win.cc
@@ -31,7 +31,7 @@ void* ThreadLocalPlatform::GetValueFromSlot(SlotType& slot) {
// static
void ThreadLocalPlatform::SetValueInSlot(SlotType& slot, void* value) {
if (!TlsSetValue(slot, value)) {
- CHECK(false) << "Failed to TlsSetValue().";
+ LOG(FATAL) << "Failed to TlsSetValue().";
}
}