| Index: base/threading/thread.cc
|
| ===================================================================
|
| --- base/threading/thread.cc (revision 109902)
|
| +++ base/threading/thread.cc (working copy)
|
| @@ -8,6 +8,7 @@
|
| #include "base/third_party/dynamic_annotations/dynamic_annotations.h"
|
| #include "base/threading/thread_local.h"
|
| #include "base/synchronization/waitable_event.h"
|
| +#include "base/tracked_objects.h"
|
|
|
| namespace base {
|
|
|
| @@ -151,6 +152,7 @@
|
| ANNOTATE_THREAD_NAME(name_.c_str()); // Tell the name to race detector.
|
| message_loop.set_thread_name(name_);
|
| message_loop_ = &message_loop;
|
| + tracked_objects::ThreadData::InitializeThreadContext(name_);
|
|
|
| // Let the thread do extra initialization.
|
| // Let's do this before signaling we are started.
|
|
|