Index: device/bluetooth/bluetooth_l2cap_channel_mac.mm |
diff --git a/device/bluetooth/bluetooth_l2cap_channel_mac.mm b/device/bluetooth/bluetooth_l2cap_channel_mac.mm |
index b136d27f2f4470c5b5e72e25e682d2d8840573d5..f0c306684e19f7e91988562c8506acac1ed24627 100644 |
--- a/device/bluetooth/bluetooth_l2cap_channel_mac.mm |
+++ b/device/bluetooth/bluetooth_l2cap_channel_mac.mm |
@@ -116,7 +116,7 @@ void BluetoothL2capChannelMac::SetSocket(BluetoothSocketMac* socket) { |
} |
IOBluetoothDevice* BluetoothL2capChannelMac::GetDevice() { |
- return [channel_ getDevice]; |
+ return [channel_ device]; |
} |
uint16_t BluetoothL2capChannelMac::GetOutgoingMTU() { |
@@ -142,7 +142,7 @@ void BluetoothL2capChannelMac::OnChannelOpenComplete( |
} |
socket()->OnChannelOpenComplete( |
- BluetoothClassicDeviceMac::GetDeviceAddress([channel getDevice]), status); |
+ BluetoothClassicDeviceMac::GetDeviceAddress([channel device]), status); |
} |
void BluetoothL2capChannelMac::OnChannelClosed( |