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

Unified Diff: chrome/browser/extensions/api/hotword_private/hotword_private_api.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/extensions/api/hotword_private/hotword_private_api.cc
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc b/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
index 61aac818a5ba19d42c250486690523f853f054a3..0481d2804e0cd1873038cc6d8449224db92c30d2 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_api.cc
@@ -45,8 +45,8 @@ namespace OnEnabledChanged =
api::hotword_private::OnEnabledChanged;
static base::LazyInstance<
- BrowserContextKeyedAPIFactory<HotwordPrivateEventService> > g_factory =
- LAZY_INSTANCE_INITIALIZER;
+ BrowserContextKeyedAPIFactory<HotwordPrivateEventService>>::DestructorAtExit
+ g_factory = LAZY_INSTANCE_INITIALIZER;
HotwordPrivateEventService::HotwordPrivateEventService(
content::BrowserContext* context)
« no previous file with comments | « chrome/browser/extensions/api/history/history_api.cc ('k') | chrome/browser/extensions/api/identity/identity_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698