commit 407e1b14411baad285a86a246daea911bc9acc8a
parent cfdbc2a2343f9aaf4488e35cf8176bfb5827d06a
Author: Dan Baker <dbaker@mozilla.com>
Date: Thu, 23 Oct 2025 17:17:00 -0600
Bug 1995393 - Vendor libwebrtc from 44bf5109e6
Upstream commit: https://webrtc.googlesource.com/src/+/44bf5109e6a76b9c38dfa8cbcfac0a7a64a353db
Remove pixel format check from DesktopFrame constructor
Chromium will start using non ARGB formats, so remove this.
Bug: webrtc:436974448
Test: CQ
Change-Id: I8f065b728220e28a06f2f4964cdc108ddc9b8bde
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/404880
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Eliot Courtney <edcourtney@google.com>
Cr-Commit-Position: refs/heads/main@{#45375}
Diffstat:
2 files changed, 2 insertions(+), 4 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-10-23T23:14:19.670760+00:00.
+libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-23T23:16:48.542499+00:00.
# base of lastest vendoring
-8207455791
+44bf5109e6
diff --git a/third_party/libwebrtc/modules/desktop_capture/desktop_frame.cc b/third_party/libwebrtc/modules/desktop_capture/desktop_frame.cc
@@ -39,8 +39,6 @@ DesktopFrame::DesktopFrame(DesktopSize size,
capturer_id_(DesktopCapturerId::kUnknown) {
RTC_DCHECK(size_.width() >= 0);
RTC_DCHECK(size_.height() >= 0);
- // TODO(bugs.webrtc.org/436974448): Support other pixel formats.
- RTC_CHECK_EQ(FOURCC_ARGB, pixel_format_);
}
DesktopFrame::DesktopFrame(DesktopSize size,