| Index: base/threading/platform_thread.h
|
| diff --git a/base/threading/platform_thread.h b/base/threading/platform_thread.h
|
| index 72da93bf56d4fc984c35c5f49ef2a69fd475be00..91ddefcdd3f62480f9c32b0cff490c03b3bcd81d 100644
|
| --- a/base/threading/platform_thread.h
|
| +++ b/base/threading/platform_thread.h
|
| @@ -142,8 +142,8 @@ class BASE_EXPORT PlatformThread {
|
| // Sleeps for the specified duration.
|
| static void Sleep(base::TimeDelta duration);
|
|
|
| - // Sets the thread name visible to debuggers/tools. This has no effect
|
| - // otherwise.
|
| + // Sets the thread name visible to debuggers/tools. This will try to
|
| + // initialize the context for current thread unless it's a WorkerThread.
|
| static void SetName(const std::string& name);
|
|
|
| // Gets the thread name, if previously set by SetName.
|
|
|