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

Unified Diff: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_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_low_energy/bluetooth_low_energy_api.cc
diff --git a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
index db956ab72f80e7f4f3ee440ee92e3c707ae1239f..8c271d82cb6c9b783820d43d0ae9c457fdc9f0e2 100644
--- a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
+++ b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc
@@ -340,7 +340,8 @@ bool IsPeripheralFlagEnabled() {
} // namespace
-static base::LazyInstance<BrowserContextKeyedAPIFactory<BluetoothLowEnergyAPI>>
+static base::LazyInstance<
+ BrowserContextKeyedAPIFactory<BluetoothLowEnergyAPI>>::DestructorAtExit
g_factory = LAZY_INSTANCE_INITIALIZER;
// static

Powered by Google App Engine
This is Rietveld 408576698