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

Unified Diff: extensions/browser/api/usb/usb_device_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/usb/usb_device_resource.cc
diff --git a/extensions/browser/api/usb/usb_device_resource.cc b/extensions/browser/api/usb/usb_device_resource.cc
index d984867aa709bc73e285bfc9fe1d3fbc77e7a573..93f00217f54011fb59bf0a1bf105b23711122896 100644
--- a/extensions/browser/api/usb/usb_device_resource.cc
+++ b/extensions/browser/api/usb/usb_device_resource.cc
@@ -21,9 +21,9 @@ using device::UsbDeviceHandle;
namespace extensions {
-static base::LazyInstance<
- BrowserContextKeyedAPIFactory<ApiResourceManager<UsbDeviceResource> > >
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<BrowserContextKeyedAPIFactory<
+ ApiResourceManager<UsbDeviceResource>>>::DestructorAtExit g_factory =
+ LAZY_INSTANCE_INITIALIZER;
// static
template <>

Powered by Google App Engine
This is Rietveld 408576698