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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_handler.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
Index: chrome/browser/ui/webui/print_preview/print_preview_handler.cc
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
index 862ade105565752a7b7d16615834753a486f8dd2..f22ec21c31edb955798a638f74905ae4002f377c 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
+++ b/chrome/browser/ui/webui/print_preview/print_preview_handler.cc
@@ -436,8 +436,8 @@ void PrintersToValues(const printing::PrinterList& printer_list,
}
}
-base::LazyInstance<printing::StickySettings> g_sticky_settings =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<printing::StickySettings>::DestructorAtExit
+ g_sticky_settings = LAZY_INSTANCE_INITIALIZER;
printing::StickySettings* GetStickySettings() {
return g_sticky_settings.Pointer();

Powered by Google App Engine
This is Rietveld 408576698