diff options
Diffstat (limited to 'base/thread.cc')
-rw-r--r-- | base/thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/thread.cc b/base/thread.cc index 4e626e3..629c7e0 100644 --- a/base/thread.cc +++ b/base/thread.cc @@ -212,7 +212,7 @@ unsigned __stdcall Thread::ThreadFunc(void* param) { self = info->self; self->message_loop_ = &message_loop; SetThreadName(self->thread_name().c_str(), GetCurrentThreadId()); - message_loop.SetThreadName(self->thread_name()); + message_loop.set_thread_name(self->thread_name()); info->start_event.Signal(); // info can't be touched anymore since the starting thread is now unlocked. } |