Index: base/threading/thread.cc |
diff --git a/base/threading/thread.cc b/base/threading/thread.cc |
index bab3991458fcf7385490e320b0f72fdd5a5b9a4b..0e4aab2c354d1f97ce37cfee500bdac9b940dfb7 100644 |
--- a/base/threading/thread.cc |
+++ b/base/threading/thread.cc |
@@ -208,7 +208,7 @@ |
// Complete the initialization of our Thread object. |
thread_id_ = PlatformThread::CurrentId(); |
- PlatformThread::SetName(name_.c_str()); |
+ PlatformThread::SetName(name_); |
ANNOTATE_THREAD_NAME(name_.c_str()); // Tell the name to race detector. |
message_loop->set_thread_name(name_); |
message_loop->SetTimerSlack(startup_data_->options.timer_slack); |