From d11f230c13a3fb312acc2cbfa7a00db58b16f287 Mon Sep 17 00:00:00 2001 From: Eric Chou Date: Fri, 15 Mar 2013 14:55:19 +0800 Subject: [PATCH] Bug 851046 - Use (Bluetooth*Managers)->Disconnect() instead of (Bluetooth*Managers)->CloseSocket() since managers are not UnixSocketConsumer anymore. r=mrbkap --- dom/bluetooth/linux/BluetoothDBusService.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dom/bluetooth/linux/BluetoothDBusService.cpp b/dom/bluetooth/linux/BluetoothDBusService.cpp index c3f3e710c6c..602d7e5758a 100644 --- a/dom/bluetooth/linux/BluetoothDBusService.cpp +++ b/dom/bluetooth/linux/BluetoothDBusService.cpp @@ -833,17 +833,17 @@ public: { BluetoothHfpManager* hfp = BluetoothHfpManager::Get(); if (hfp) { - hfp->CloseSocket(); + hfp->Disconnect(); } BluetoothOppManager* opp = BluetoothOppManager::Get(); if (opp) { - opp->CloseSocket(); + opp->Disconnect(); } BluetoothScoManager* sco = BluetoothScoManager::Get(); if (sco) { - sco->CloseSocket(); + sco->Disconnect(); } return NS_OK;