| Index: base/threading/worker_pool_posix.cc
|
| diff --git a/base/threading/worker_pool_posix.cc b/base/threading/worker_pool_posix.cc
|
| index 53ae4e69627807b209618834104fecf70ed65fc9..043e5d0be6a8a7b954e9ead826f6cc5277b417fd 100644
|
| --- a/base/threading/worker_pool_posix.cc
|
| +++ b/base/threading/worker_pool_posix.cc
|
| @@ -80,7 +80,7 @@ void WorkerThread::ThreadMain() {
|
| const std::string name = base::StringPrintf("%s/%d", name_prefix_.c_str(),
|
| PlatformThread::CurrentId());
|
| // Note |name.c_str()| must remain valid for for the whole life of the thread.
|
| - PlatformThread::SetName(name);
|
| + PlatformThread::SetName(name, true);
|
|
|
| for (;;) {
|
| PendingTask pending_task = pool_->WaitForTask();
|
|
|