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

Unified Diff: device/bluetooth/bluetooth_socket_thread.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: device/bluetooth/bluetooth_socket_thread.cc
diff --git a/device/bluetooth/bluetooth_socket_thread.cc b/device/bluetooth/bluetooth_socket_thread.cc
index ca2dfa4adcef0337b6c4a79ea7fcd4f7e6c33c09..3788916cc69757d7d54ef4cf7fb593ff1570d37b 100644
--- a/device/bluetooth/bluetooth_socket_thread.cc
+++ b/device/bluetooth/bluetooth_socket_thread.cc
@@ -10,8 +10,8 @@
namespace device {
-base::LazyInstance<scoped_refptr<BluetoothSocketThread> > g_instance =
- LAZY_INSTANCE_INITIALIZER;
+base::LazyInstance<scoped_refptr<BluetoothSocketThread>>::DestructorAtExit
+ g_instance = LAZY_INSTANCE_INITIALIZER;
// static
scoped_refptr<BluetoothSocketThread> BluetoothSocketThread::Get() {
« no previous file with comments | « device/bluetooth/bluetooth_adapter_factory_wrapper.h ('k') | extensions/browser/api/alarms/alarm_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698