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

Unified Diff: content/child/child_process.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: Created 3 years, 9 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_process.cc
diff --git a/content/child/child_process.cc b/content/child/child_process.cc
index 49aa72c3779fbe3c17e2c84eb41b8c9502936ad4..6d713f497816d42b672fe70a18b9ec5897ca89d8 100644
--- a/content/child/child_process.cc
+++ b/content/child/child_process.cc
@@ -31,9 +31,8 @@ static void SigUSR1Handler(int signal) { }
namespace content {
namespace {
-
-base::LazyInstance<base::ThreadLocalPointer<ChildProcess> > g_lazy_tls =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<base::ThreadLocalPointer<ChildProcess>>::DestructorAtExit
+ g_lazy_tls = LAZY_INSTANCE_INITIALIZER;
}
ChildProcess::ChildProcess(

Powered by Google App Engine
This is Rietveld 408576698