tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit a958b79ad5f1e8fd9aff5a5303784865447a7b3a
parent 94c6615d46fc492f18a15ecb133b6982fa4ec778
Author: Dan Baker <dbaker@mozilla.com>
Date:   Wed,  3 Dec 2025 09:44:19 -0700

Bug 2000941 - (fix-412ea40eeb) ifdef out IID_IGraphicsCaptureSession6 as current windows build SDK does not include it

Diffstat:
Mthird_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc b/third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc @@ -276,6 +276,9 @@ HRESULT WgcCaptureSession::StartCapture(const DesktopCaptureOptions& options) { } #endif +// Until Mozilla builds with SDK v10.0.26100.0 or newer, this +// code will not build. +#if !defined(WEBRTC_MOZILLA_BUILD) // Windows 11 24H2 (10.0.26100.0) added // `IGraphicsCaptureSession6::put_IncludeSecondaryWindows()`. See // `wgc_include_secondary_windows()` in @@ -287,6 +290,7 @@ HRESULT WgcCaptureSession::StartCapture(const DesktopCaptureOptions& options) { session6->put_IncludeSecondaryWindows( options.wgc_include_secondary_windows()); } +#endif allow_zero_hertz_ = options.allow_wgc_zero_hertz();