commit 8bda79c6786a8b8a57a37cecf4d5c56bcef8b912
parent 2e313c63b065a60c7bd397564f905b9175e011eb
Author: Dan Baker <dbaker@mozilla.com>
Date: Mon, 1 Dec 2025 20:51:00 -0700
Bug 2000941 - Vendor libwebrtc from 10416a9cb0
Upstream commit: https://webrtc.googlesource.com/src/+/10416a9cb0f628759d7b9d58707978d047f4e08c
Restore static_assert for MockSessionDescriptionInterface
I mistakenly removed the static_assert in a previous CL:
https://webrtc-review.googlesource.com/c/src/+/407440
Bug: webrtc:442220720
Change-Id: Ied058a47dabc62c65baf513df437f98581743238
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/409381
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#45655}
Diffstat:
2 files changed, 8 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 /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc --commit mozpatches libwebrtc
-libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-12-02T03:47:56.929530+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-12-02T03:50:46.960830+00:00.
# base of lastest vendoring
-0fb14198f9
+10416a9cb0
diff --git a/third_party/libwebrtc/api/test/mock_session_description_interface.h b/third_party/libwebrtc/api/test/mock_session_description_interface.h
@@ -27,6 +27,7 @@ class [[deprecated(
"interface.")]] MockSessionDescriptionInterface
: public SessionDescriptionInterface {
public:
+ MockSessionDescriptionInterface() = default;
MOCK_METHOD(std::unique_ptr<SessionDescriptionInterface>,
Clone,
(),
@@ -47,6 +48,11 @@ class [[deprecated(
MOCK_METHOD(bool, ToString, (std::string*), (const, override));
};
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-declarations"
+static_assert(!std::is_abstract_v<MockSessionDescriptionInterface>);
+#pragma clang diagnostic pop
+
} // namespace webrtc
#endif // API_TEST_MOCK_SESSION_DESCRIPTION_INTERFACE_H_