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

Unified Diff: extensions/browser/api/audio/audio_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/audio/audio_api.cc
diff --git a/extensions/browser/api/audio/audio_api.cc b/extensions/browser/api/audio/audio_api.cc
index 55f14239bd383fdb3fda0c2be7df37f5c7b87184..c81921c72adff0decd8291c4cbe8567331ae9735 100644
--- a/extensions/browser/api/audio/audio_api.cc
+++ b/extensions/browser/api/audio/audio_api.cc
@@ -47,7 +47,8 @@ bool CanReceiveDeprecatedAudioEvent(content::BrowserContext* context,
} // namespace
-static base::LazyInstance<BrowserContextKeyedAPIFactory<AudioAPI> > g_factory =
+static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<AudioAPI>>::DestructorAtExit g_factory =
LAZY_INSTANCE_INITIALIZER;
// static

Powered by Google App Engine
This is Rietveld 408576698