mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
06f8c062df
commit
53a7df99fb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user