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

Unified Diff: content/browser/browser_context.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/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 2f14933f23671dbccfdb75af9bf429144e704f9b..deb0cd98f50f4db87d1434e60240974d1a4841f7 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -54,7 +54,7 @@ namespace content {
namespace {
-base::LazyInstance<std::map<std::string, BrowserContext*>>
+base::LazyInstance<std::map<std::string, BrowserContext*>>::DestructorAtExit
g_user_id_to_context = LAZY_INSTANCE_INITIALIZER;
class ServiceUserIdHolder : public base::SupportsUserData::Data {

Powered by Google App Engine
This is Rietveld 408576698