gecko-dev/gfx/skia
Chris Peterson 33e4a145c6 Bug 1774522 - Make Skia C++20 compatible by replacing deprecated std::result_of_t. r=lsalzman
The C++ std library functions `std::result_of` and `std::result_of_t` were deprecated in C++17 and removed in C++20.

Upstream Skia removed use of `std::result_of_t` in 2021, so we can just copy upstream's new replacement code:

https://skia.googlesource.com/skia/+/7d8cdd5b7f277f3b661e1eea067cf45a467572c6%5E%21/
https://skia.googlesource.com/skia/+/dc976a96ea388ae49fd0ce18d5a07d8fc15779cf%5E%21/

Because we're just extracting code from upstream, our local changes here can be safely overwritten whenever we next vendor a new Skia version.

Differential Revision: https://phabricator.services.mozilla.com/D149490
2022-06-17 02:13:46 +00:00
..
patches
skia Bug 1774522 - Make Skia C++20 compatible by replacing deprecated std::result_of_t. r=lsalzman 2022-06-17 02:13:46 +00:00
generate_mozbuild.py
LICENSE
moz.build
README
README_COMMITTING
README_MOZILLA

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at http://code.google.com/p/skia/wiki/DocRoot