mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
bd6d63772a
The current API makes the life time and ownership of the result array unclear without careful reading. The result array is always owned by the principal, and its lifetime tied to the lifetime of the principal itself. Returning a const array reference makes this clear, and should prevent callers from accidentally modifying the returned array. MozReview-Commit-ID: 3f8mhynkKAj --HG-- extra : source : 237acf2879f6222bc4b076c377bf026d18a6ebef extra : amend_source : dfaf6e88e3c4758f7fdcf7fb422d457edafab1b7 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
dbus | ||
glue | ||
ipdl | ||
mscom | ||
ril | ||
testshell | ||
moz.build | ||
pull-chromium.py |