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

Unified Diff: chrome/browser/chrome_content_browser_client.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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 4c471bea5ad13cdb186f88e59fc9d118a5703e1f..2cd6c09dd34faf721cf1815197c39a8bc3e2b41f 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -425,7 +425,8 @@ namespace {
// Cached version of the locale so we can return the locale on the I/O
// thread.
-base::LazyInstance<std::string> g_io_thread_application_locale;
+base::LazyInstance<std::string>::DestructorAtExit
+ g_io_thread_application_locale;
Nico 2017/03/07 21:43:02 maybe add = LAZY_INSTANCE_INITIALIZER while here (
scottmg 2017/03/07 21:56:30 Done.
const storage::QuotaSettings* g_default_quota_settings;

Powered by Google App Engine
This is Rietveld 408576698