summaryrefslogtreecommitdiffstats
path: root/base/thread.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/thread.cc')
-rw-r--r--base/thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread.cc b/base/thread.cc
index a4798e0..0fe023a 100644
--- a/base/thread.cc
+++ b/base/thread.cc
@@ -123,7 +123,7 @@ void Thread::ThreadMain() {
// Complete the initialization of our Thread object.
thread_id_ = PlatformThread::CurrentId();
- PlatformThread::SetName(thread_id_, name_.c_str());
+ PlatformThread::SetName(name_.c_str());
message_loop.set_thread_name(name_);
message_loop_ = &message_loop;
thread_created_ = true;