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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_private_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/bluetooth/bluetooth_private_api.cc
diff --git a/extensions/browser/api/bluetooth/bluetooth_private_api.cc b/extensions/browser/api/bluetooth/bluetooth_private_api.cc
index 86fc88cb051ad3526e8f5912182c1f836961afe2..ac1da95e3e3b6ddfb2a910c97ad919560234eba8 100644
--- a/extensions/browser/api/bluetooth/bluetooth_private_api.cc
+++ b/extensions/browser/api/bluetooth/bluetooth_private_api.cc
@@ -25,8 +25,8 @@ namespace SetDiscoveryFilter = bt_private::SetDiscoveryFilter;
namespace extensions {
-static base::LazyInstance<BrowserContextKeyedAPIFactory<BluetoothPrivateAPI>>
- g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<BrowserContextKeyedAPIFactory<BluetoothPrivateAPI>>::
+ DestructorAtExit g_factory = LAZY_INSTANCE_INITIALIZER;
namespace {

Powered by Google App Engine
This is Rietveld 408576698