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

Unified Diff: extensions/browser/api/system_info/system_info_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: extensions/browser/api/system_info/system_info_api.cc
diff --git a/extensions/browser/api/system_info/system_info_api.cc b/extensions/browser/api/system_info/system_info_api.cc
index 163439116301ee938548cebb92f4254215e5d9eb..bec8c337597c794773eafb483ac62935b28f5972 100644
--- a/extensions/browser/api/system_info/system_info_api.cc
+++ b/extensions/browser/api/system_info/system_info_api.cc
@@ -224,8 +224,9 @@ void RemoveEventListener(const std::string& event_name) {
} // namespace
-static base::LazyInstance<BrowserContextKeyedAPIFactory<SystemInfoAPI> >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<SystemInfoAPI>>::DestructorAtExit g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
BrowserContextKeyedAPIFactory<SystemInfoAPI>*
« no previous file with comments | « extensions/browser/api/system_cpu/cpu_info_provider.cc ('k') | extensions/browser/api/system_memory/memory_info_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698