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

Unified Diff: extensions/browser/api/hid/hid_device_manager.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_device_manager.cc
diff --git a/extensions/browser/api/hid/hid_device_manager.cc b/extensions/browser/api/hid/hid_device_manager.cc
index 93ce98bf7f1036fc95e412ce78b4ad8314813acf..02f04e5b14a33496026c1bcbb38abf0140268d31 100644
--- a/extensions/browser/api/hid/hid_device_manager.cc
+++ b/extensions/browser/api/hid/hid_device_manager.cc
@@ -112,8 +112,8 @@ HidDeviceManager::~HidDeviceManager() {
// static
BrowserContextKeyedAPIFactory<HidDeviceManager>*
HidDeviceManager::GetFactoryInstance() {
- static base::LazyInstance<BrowserContextKeyedAPIFactory<HidDeviceManager> >
- factory = LAZY_INSTANCE_INITIALIZER;
+ static base::LazyInstance<BrowserContextKeyedAPIFactory<HidDeviceManager>>::
+ DestructorAtExit factory = LAZY_INSTANCE_INITIALIZER;
return &factory.Get();
}
« no previous file with comments | « extensions/browser/api/hid/hid_connection_resource.cc ('k') | extensions/browser/api/management/management_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698