Index: util/thread/thread_log_messages.cc |
diff --git a/util/thread/thread_log_messages.cc b/util/thread/thread_log_messages.cc |
index f3af8a8371df3b53088a7df01b7b55fdbf25ce34..bada15a2b7ce5695aca8f93cf1624d6381f2e2b9 100644 |
--- a/util/thread/thread_log_messages.cc |
+++ b/util/thread/thread_log_messages.cc |
@@ -36,7 +36,8 @@ class ThreadLogMessagesMaster { |
public: |
ThreadLogMessagesMaster() { |
DCHECK(!tls_.initialized()); |
- CHECK(tls_.Initialize(nullptr)); |
+ tls_.Initialize(nullptr); |
+ DCHECK(tls_.initialized()); |
DCHECK(!logging::GetLogMessageHandler()); |
logging::SetLogMessageHandler(LogMessageHandler); |