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

Unified Diff: printing/print_settings.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again 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
« no previous file with comments | « ppapi/shared_impl/ppapi_globals.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_settings.cc
diff --git a/printing/print_settings.cc b/printing/print_settings.cc
index a234cd92575331ddfac924fb12c5091723fa60b4..c35863dc9779f4f818c4fa55d09459a116bb8bfa 100644
--- a/printing/print_settings.cc
+++ b/printing/print_settings.cc
@@ -12,7 +12,7 @@
namespace printing {
-base::LazyInstance<std::string> g_user_agent;
+base::LazyInstance<std::string>::DestructorAtExit g_user_agent;
void SetAgent(const std::string& user_agent) {
g_user_agent.Get() = user_agent;
« no previous file with comments | « ppapi/shared_impl/ppapi_globals.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698