mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 05:45:33 +00:00
![Chris Peterson](/assets/img/avatar_default.png)
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
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