mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-13 11:38:16 +00:00
![Thomas Zimmermann](/assets/img/avatar_default.png)
This patch replaces all instances of |nsAutoArrayPtr<>| in the Bluetooth interfaces with |UniquePtr<[]>|. In contrast to |nsAutoArrayPtr<>|, |UniquePtr<[]>| doesn't convert to the underlying pointer type implicitly. This is a problem for the daemon-socket runnable, which depend on this feature when calling their operations. To solve this issue, the patch adds |ConvertArg| for each arguemnt, which does the conversion explicitly.