commit 15dec8eb72c1ca41ad6cb9fcfcd684cd4c3f3fcc
parent d8fcd8cde7144390bacac601c4b3a805e9486c5f
Author: Michael Froman <mfroman@mozilla.com>
Date: Thu, 9 Oct 2025 23:21:38 -0500
Bug 1993083 - Vendor libwebrtc from 503422d3ab
Upstream commit: https://webrtc.googlesource.com/src/+/503422d3ab9f73cce7b79ec5c29b0c6dfee6d6ce
IWYU rtc_base/type_traits
which otherwise fails with clang modules enabled via
use_clang_modules = true
and the following error message:
../../rtc_base/type_traits.h:27:45: error: declaration of 'declval' must be imported
from module 'std_core.utility_core.declval' before it is required
27 | std::is_convertible<decltype(std::declval<C>().data()), T*>::value &&
| ^
Bug: webrtc:42226242
Change-Id: Ic5785f51d2335ac0fa93fdc6eb4bd1e1fb219c76
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/401880
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45208}
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/third_party/libwebrtc/README.mozilla.last-vendor b/third_party/libwebrtc/README.mozilla.last-vendor
@@ -1,4 +1,4 @@
# ./mach python dom/media/webrtc/third_party_build/vendor-libwebrtc.py --from-local /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
-libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-10T04:20:10.029739+00:00.
+libwebrtc updated from /home/mfroman/mozilla/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-10T04:21:30.450764+00:00.
# base of lastest vendoring
-efc58a5039
+503422d3ab
diff --git a/third_party/libwebrtc/rtc_base/type_traits.h b/third_party/libwebrtc/rtc_base/type_traits.h
@@ -13,6 +13,7 @@
#include <cstddef>
#include <type_traits>
+#include <utility>
namespace webrtc {