Chromium Code Reviews

Unified Diff: chrome/browser/printing/printing_message_filter.cc

Issue 8491043: Allow linker initialization of lazy instance (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: willchan comments + rebase Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « chrome/browser/plugin_prefs.cc ('k') | chrome/browser/resources_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printing_message_filter.cc
diff --git a/chrome/browser/printing/printing_message_filter.cc b/chrome/browser/printing/printing_message_filter.cc
index 8958dbade316e2505a75fd7abbcaa3aaafc4d404..ddcf209b5be49ff6da5fe33b01e23d9f5d8fd72f 100644
--- a/chrome/browser/printing/printing_message_filter.cc
+++ b/chrome/browser/printing/printing_message_filter.cc
@@ -40,7 +40,7 @@ struct PrintingSequencePathMap {
// No locking, only access on the FILE thread.
static base::LazyInstance<PrintingSequencePathMap>
- g_printing_file_descriptor_map(base::LINKER_INITIALIZED);
+ g_printing_file_descriptor_map = LAZY_INSTANCE_INITIALIZER;
#endif
void RenderParamsFromPrintSettings(const printing::PrintSettings& settings,
« no previous file with comments | « chrome/browser/plugin_prefs.cc ('k') | chrome/browser/resources_util.cc » ('j') | no next file with comments »

Powered by Google App Engine