Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(925)

Unified Diff: content/child/child_thread_impl.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index 034e50cb9d9036bb385f1a2e9a7a02360e67b4a3..b19a133b46622bf367cf05671f0ead660d1d5f50 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -100,7 +100,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.
@@ -432,7 +432,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)
@@ -625,7 +625,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() {
@@ -819,7 +819,7 @@ void ChildThreadImpl::OnSetIPCLoggingEnabled(bool enable) {
#endif // IPC_MESSAGE_LOG_ENABLED
ChildThreadImpl* ChildThreadImpl::current() {
- return g_lazy_tls.Pointer()->Get();
+ return g_lazy_child_tls.Pointer()->Get();
}
#if defined(OS_ANDROID)
« no previous file with comments | « content/child/appcache/appcache_frontend_impl.cc ('k') | content/child/notifications/notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698