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

Unified Diff: content/child/child_thread_impl.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 years, 5 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 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)
« 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