Index: device/bluetooth/bluetooth_rfcomm_channel_mac.mm |
diff --git a/device/bluetooth/bluetooth_rfcomm_channel_mac.mm b/device/bluetooth/bluetooth_rfcomm_channel_mac.mm |
index 2b27a1c3f6b3ecbfec14efde00a60ac47842da35..53f22409b1a87886efb0f55d26d94e72e805299e 100644 |
--- a/device/bluetooth/bluetooth_rfcomm_channel_mac.mm |
+++ b/device/bluetooth/bluetooth_rfcomm_channel_mac.mm |
@@ -94,7 +94,7 @@ scoped_ptr<BluetoothRfcommChannelMac> BluetoothRfcommChannelMac::OpenAsync( |
channel.reset(); |
} |
- return channel.Pass(); |
+ return channel; |
} |
void BluetoothRfcommChannelMac::SetSocket(BluetoothSocketMac* socket) { |