mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 04:22:56 +00:00

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.