Index: chrome/browser/ui/webui/print_preview/print_preview_ui.cc |
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc |
index 3a42194ea2f0f95861337b8302c1188e67fb13f7..3df34d9d4e2f983f89d9e948a7632479dd3c30e0 100644 |
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.cc |
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.cc |
@@ -107,13 +107,13 @@ class PrintPreviewRequestIdMapWithLock { |
}; |
// Written to on the UI thread, read from any thread. |
-base::LazyInstance<PrintPreviewRequestIdMapWithLock> |
+base::LazyInstance<PrintPreviewRequestIdMapWithLock>::DestructorAtExit |
g_print_preview_request_id_map = LAZY_INSTANCE_INITIALIZER; |
// PrintPreviewUI IDMap used to avoid exposing raw pointer addresses to WebUI. |
// Only accessed on the UI thread. |
-base::LazyInstance<IDMap<PrintPreviewUI*>> g_print_preview_ui_id_map = |
- LAZY_INSTANCE_INITIALIZER; |
+base::LazyInstance<IDMap<PrintPreviewUI*>>::DestructorAtExit |
+ g_print_preview_ui_id_map = LAZY_INSTANCE_INITIALIZER; |
// PrintPreviewUI serves data for chrome://print requests. |
// |