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

Unified Diff: extensions/browser/api/printer_provider_internal/printer_provider_internal_api.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: . 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: extensions/browser/api/printer_provider_internal/printer_provider_internal_api.cc
diff --git a/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.cc b/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.cc
index ff7eee7693a38336ba4c0a9b8690355d7a393c2a..60e7260e1aa6b7c79ade6c9bbbe912f77cab53ce 100644
--- a/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.cc
+++ b/extensions/browser/api/printer_provider_internal/printer_provider_internal_api.cc
@@ -35,8 +35,8 @@ namespace extensions {
namespace {
static base::LazyInstance<
- BrowserContextKeyedAPIFactory<PrinterProviderInternalAPI>> g_api_factory =
- LAZY_INSTANCE_INITIALIZER;
+ BrowserContextKeyedAPIFactory<PrinterProviderInternalAPI>>::DestructorAtExit
+ g_api_factory = LAZY_INSTANCE_INITIALIZER;
} // namespace

Powered by Google App Engine
This is Rietveld 408576698