| Index: content/child/child_thread_impl.cc
|
| diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
|
| index 8dafe6c190705ee1f3d4048c7d4de1f163f1ee3d..c1bab9d4f67968bdffd91f757570b59b59be4e4d 100644
|
| --- a/content/child/child_thread_impl.cc
|
| +++ b/content/child/child_thread_impl.cc
|
| @@ -93,7 +93,7 @@ namespace {
|
| const int kConnectionTimeoutS = 15;
|
|
|
| base::LazyInstance<base::ThreadLocalPointer<ChildThreadImpl>>::DestructorAtExit
|
| - g_lazy_tls = LAZY_INSTANCE_INITIALIZER;
|
| + g_lazy_child_tls = LAZY_INSTANCE_INITIALIZER;
|
|
|
| // This isn't needed on Windows because there the sandbox's job object
|
| // terminates child processes automatically. For unsandboxed processes (i.e.
|
| @@ -420,7 +420,7 @@ void ChildThreadImpl::ConnectChannel(
|
| }
|
|
|
| void ChildThreadImpl::Init(const Options& options) {
|
| - g_lazy_tls.Pointer()->Set(this);
|
| + g_lazy_child_tls.Pointer()->Set(this);
|
| on_channel_error_called_ = false;
|
| message_loop_ = base::MessageLoop::current();
|
| #if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
|
| @@ -598,7 +598,7 @@ ChildThreadImpl::~ChildThreadImpl() {
|
| // automatically. We used to watch the object handle on Windows to do this,
|
| // but it wasn't possible to do so on POSIX.
|
| channel_->ClearIPCTaskRunner();
|
| - g_lazy_tls.Pointer()->Set(NULL);
|
| + g_lazy_child_tls.Pointer()->Set(NULL);
|
| }
|
|
|
| void ChildThreadImpl::Shutdown() {
|
| @@ -813,7 +813,7 @@ void ChildThreadImpl::OnProfilingPhaseCompleted(int profiling_phase) {
|
| }
|
|
|
| ChildThreadImpl* ChildThreadImpl::current() {
|
| - return g_lazy_tls.Pointer()->Get();
|
| + return g_lazy_child_tls.Pointer()->Get();
|
| }
|
|
|
| #if defined(OS_ANDROID)
|
|
|