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

Unified Diff: content/utility/in_process_utility_thread.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/utility/in_process_utility_thread.cc
diff --git a/content/utility/in_process_utility_thread.cc b/content/utility/in_process_utility_thread.cc
index 8417c5991ce2ea33801130c222f847ffeab028bf..0a390458c3b0c64673ff878906e9e7ce01b224d3 100644
--- a/content/utility/in_process_utility_thread.cc
+++ b/content/utility/in_process_utility_thread.cc
@@ -15,7 +15,8 @@ namespace content {
// We want to ensure there's only one utility thread running at a time, as there
// are many globals used in the utility process.
-static base::LazyInstance<base::Lock> g_one_utility_thread_lock;
+static base::LazyInstance<base::Lock>::DestructorAtExit
+ g_one_utility_thread_lock;
InProcessUtilityThread::InProcessUtilityThread(
const InProcessChildThreadParams& params)

Powered by Google App Engine
This is Rietveld 408576698