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

Unified Diff: printing/print_settings.cc

Issue 2813503004: Change a few LazyInstances in printing code to be Leaky. (Closed)
Patch Set: Created 3 years, 8 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 | « chrome/browser/printing/print_view_manager.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 aef18c33bd24e74a12b4ec6f1c3ac1aedf4a2ed5..98ce4d48cc832841cbf01005e6dcb47d5424097e 100644
--- a/printing/print_settings.cc
+++ b/printing/print_settings.cc
@@ -12,7 +12,7 @@
namespace printing {
-base::LazyInstance<std::string>::DestructorAtExit g_user_agent;
+base::LazyInstance<std::string>::Leaky g_user_agent;
void SetAgent(const std::string& user_agent) {
g_user_agent.Get() = user_agent;
« no previous file with comments | « chrome/browser/printing/print_view_manager.cc ('k') | printing/printed_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698