mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
9f7262d417
In order to support `UniquePtr` as an arg type for `WrapRunnable` as well as avoid unnecessary copies in the future we need to switch to moving args when invoking a runnable. This updates `WrapRunnables` so that they move their args when running and adds/updates some tests. To accomplish this `std::apply` is swapped in for our bespoke implementation and `std::tuple` is used to hold the args. We then `std::move` the args when `Run` is called. We also needed to support an r-value `Class` param for the runnable method on a bound object versions could work with `UniquePtr` as the holder class. Differential Revision: https://phabricator.services.mozilla.com/D59960 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
audioipc | ||
ffvpx | ||
gmp-clearkey/0.1 | ||
kiss_fft | ||
libaom | ||
libcubeb | ||
libdav1d | ||
libjpeg | ||
libmkv | ||
libnestegg | ||
libogg | ||
libopus | ||
libpng | ||
libsoundtouch | ||
libspeex_resampler | ||
libtheora | ||
libtremor | ||
libvorbis | ||
libvpx | ||
libwebp | ||
libyuv | ||
mp4parse-rust | ||
mtransport | ||
openmax_dl | ||
openmax_il/il112 | ||
psshparser | ||
webrtc | ||
moz.build | ||
update-libjpeg.sh |