tor-browser

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

commit a272cc062662fa08aba1f3195c067798cb538d9e
parent 85eb7bd934122345b8271e0c74ac686f24011ed0
Author: Dan Baker <dbaker@mozilla.com>
Date:   Mon, 27 Oct 2025 12:55:58 -0600

Bug 1995393 - Vendor libwebrtc from 3950d10647

Upstream commit: https://webrtc.googlesource.com/src/+/3950d106478fe6c96df69b4e40e2be137ee17882
    Remove unused TargetTransferRate::stable_target_rate

    Bug: webrtc:423841921
    Change-Id: I24bc6c3130830a603267618c1e105aef5d70f2ed
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/406081
    Reviewed-by: Diep Bui <diepbp@webrtc.org>
    Commit-Queue: Per Kjellander <perkj@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#45440}

Diffstat:
Mthird_party/libwebrtc/README.mozilla.last-vendor | 4++--
Mthird_party/libwebrtc/api/call/bitrate_allocation.h | 2+-
Mthird_party/libwebrtc/api/transport/network_types.h | 3---
Mthird_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_network_control.cc | 4----
4 files changed, 3 insertions(+), 10 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-27T18:53:10.736509+00:00. +libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-27T18:55:44.349728+00:00. # base of lastest vendoring -4221e1bc2f +3950d10647 diff --git a/third_party/libwebrtc/api/call/bitrate_allocation.h b/third_party/libwebrtc/api/call/bitrate_allocation.h @@ -27,7 +27,7 @@ struct BitrateAllocationUpdate { double packet_loss_ratio = 0; // Predicted round trip time. TimeDelta round_trip_time = TimeDelta::PlusInfinity(); - // `bwe_period` is deprecated, use `stable_target_bitrate` allocation instead. + // `bwe_period` is deprecated. TimeDelta bwe_period = TimeDelta::PlusInfinity(); // Congestion window pushback bitrate reduction fraction. Used in // VideoStreamEncoder to reduce the bitrate by the given fraction diff --git a/third_party/libwebrtc/api/transport/network_types.h b/third_party/libwebrtc/api/transport/network_types.h @@ -240,9 +240,6 @@ struct RTC_EXPORT TargetTransferRate { // The estimate on which the target rate is based on. NetworkEstimate network_estimate; DataRate target_rate = DataRate::Zero(); - // TODO(bugs.webrtc.org/423841921): stable_rate is not used by WebRTC and - // should be removed as soon as downstream projects are not referencing it. - DataRate stable_target_rate; // Deprecated double cwnd_reduce_ratio = 0; }; diff --git a/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_network_control.cc b/third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_network_control.cc @@ -624,10 +624,6 @@ void GoogCcNetworkController::MaybeTriggerOnNetworkChanged( } else { target_rate_msg.target_rate = pushback_target_rate; } -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wdeprecated-declarations" - target_rate_msg.stable_target_rate = loss_based_target_rate; -#pragma clang diagnostic pop target_rate_msg.network_estimate.at_time = at_time; target_rate_msg.network_estimate.round_trip_time = round_trip_time; target_rate_msg.network_estimate.loss_rate_ratio = fraction_loss / 255.0f;