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

Unified Diff: extensions/browser/api/hid/hid_connection_resource.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/hid/hid_connection_resource.cc
diff --git a/extensions/browser/api/hid/hid_connection_resource.cc b/extensions/browser/api/hid/hid_connection_resource.cc
index d77073c355de5ba7133a8fe5d4ef36dfcfb3e639..2fa6c3470cfec116e30ccf3fc266bd517a637d93 100644
--- a/extensions/browser/api/hid/hid_connection_resource.cc
+++ b/extensions/browser/api/hid/hid_connection_resource.cc
@@ -13,9 +13,9 @@
namespace extensions {
-static base::LazyInstance<
- BrowserContextKeyedAPIFactory<ApiResourceManager<HidConnectionResource> > >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<BrowserContextKeyedAPIFactory<
+ ApiResourceManager<HidConnectionResource>>>::DestructorAtExit g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
template <>
« no previous file with comments | « extensions/browser/api/declarative/rules_registry_service.cc ('k') | extensions/browser/api/hid/hid_device_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698