Index: trunk/src/device/bluetooth/bluetooth_adapter.cc |
=================================================================== |
--- trunk/src/device/bluetooth/bluetooth_adapter.cc (revision 255369) |
+++ trunk/src/device/bluetooth/bluetooth_adapter.cc (working copy) |
@@ -113,7 +113,7 @@ |
const DiscoverySessionCallback& callback) { |
VLOG(1) << "Discovery session started!"; |
scoped_ptr<BluetoothDiscoverySession> discovery_session( |
- new BluetoothDiscoverySession(scoped_refptr<BluetoothAdapter>(this))); |
+ new BluetoothDiscoverySession(this)); |
discovery_sessions_.insert(discovery_session.get()); |
callback.Run(discovery_session.Pass()); |
} |