diff --git a/dom/bluetooth/BluetoothService.cpp b/dom/bluetooth/BluetoothService.cpp index c2ff5fd2953..6155de6d7f9 100644 --- a/dom/bluetooth/BluetoothService.cpp +++ b/dom/bluetooth/BluetoothService.cpp @@ -233,12 +233,6 @@ RemoveObserversExceptBluetoothManager return PL_DHASH_NEXT; } -void -BluetoothService::RemoveObserverFromTable(const nsAString& key) -{ - mBluetoothSignalObserverTable.Remove(key); -} - // static BluetoothService* BluetoothService::Create() diff --git a/dom/bluetooth/BluetoothService.h b/dom/bluetooth/BluetoothService.h index 534a65a7887..4800bf904c8 100644 --- a/dom/bluetooth/BluetoothService.h +++ b/dom/bluetooth/BluetoothService.h @@ -308,9 +308,6 @@ public: bool IsToggling() const; - void - RemoveObserverFromTable(const nsAString& key); - /** * Below 2 function/variable are used for ensuring event 'AdapterAdded' will * be fired after event 'Enabled'. diff --git a/dom/bluetooth2/BluetoothService.cpp b/dom/bluetooth2/BluetoothService.cpp index c2ff5fd2953..6155de6d7f9 100644 --- a/dom/bluetooth2/BluetoothService.cpp +++ b/dom/bluetooth2/BluetoothService.cpp @@ -233,12 +233,6 @@ RemoveObserversExceptBluetoothManager return PL_DHASH_NEXT; } -void -BluetoothService::RemoveObserverFromTable(const nsAString& key) -{ - mBluetoothSignalObserverTable.Remove(key); -} - // static BluetoothService* BluetoothService::Create() diff --git a/dom/bluetooth2/BluetoothService.h b/dom/bluetooth2/BluetoothService.h index 534a65a7887..4800bf904c8 100644 --- a/dom/bluetooth2/BluetoothService.h +++ b/dom/bluetooth2/BluetoothService.h @@ -308,9 +308,6 @@ public: bool IsToggling() const; - void - RemoveObserverFromTable(const nsAString& key); - /** * Below 2 function/variable are used for ensuring event 'AdapterAdded' will * be fired after event 'Enabled'.