зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1126720: Fix ref-counting of bluetoothd channels (under bluetooth2/), r=btian
The class |BluetoothDaemonChannel| for the bluetoothd channels supports reference counting. This patch fixes the respective variable to use |nsRefPtr| instead of |nsAutoPtr|. This patch is based on bug 1119746, patch [03]
This commit is contained in:
Родитель
54771250c1
Коммит
c38017e280
|
@ -122,8 +122,8 @@ protected:
|
|||
private:
|
||||
void DispatchError(BluetoothResultHandler* aRes, BluetoothStatus aStatus);
|
||||
|
||||
nsAutoPtr<BluetoothDaemonChannel> mCmdChannel;
|
||||
nsAutoPtr<BluetoothDaemonChannel> mNtfChannel;
|
||||
nsRefPtr<BluetoothDaemonChannel> mCmdChannel;
|
||||
nsRefPtr<BluetoothDaemonChannel> mNtfChannel;
|
||||
nsAutoPtr<BluetoothDaemonProtocol> mProtocol;
|
||||
|
||||
nsTArray<nsRefPtr<BluetoothResultHandler> > mResultHandlerQ;
|
||||
|
|
Загрузка…
Ссылка в новой задаче