| Index: base/threading/platform_thread_freebsd.cc
|
| diff --git a/base/threading/platform_thread_freebsd.cc b/base/threading/platform_thread_freebsd.cc
|
| index 44f14c873e015383ad8ac84445f82dccff4d47a7..3b7914fcf0b2e4c413e92dd91f23cfddb9add9c7 100644
|
| --- a/base/threading/platform_thread_freebsd.cc
|
| +++ b/base/threading/platform_thread_freebsd.cc
|
| @@ -65,9 +65,10 @@ bool GetCurrentThreadPriorityForPlatform(ThreadPriority* priority) {
|
| } // namespace internal
|
|
|
| // static
|
| -void PlatformThread::SetName(const std::string& name) {
|
| +void PlatformThread::SetName(const std::string& name, bool is_worker_thread) {
|
| ThreadIdNameManager::GetInstance()->SetName(CurrentId(), name);
|
| - tracked_objects::ThreadData::InitializeThreadContext(name);
|
| + if (!is_worker_thread)
|
| + tracked_objects::ThreadData::InitializeThreadContext(name);
|
|
|
| #if !defined(OS_NACL)
|
| // On FreeBSD we can get the thread names to show up in the debugger by
|
|
|