tor-browser

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

commit bf01367356c3a337e9a24d1d833cf7bade74f249
parent eafe371a2d88afaec3efa51756ea6e2f7412c5fb
Author: Dan Baker <dbaker@mozilla.com>
Date:   Thu, 23 Oct 2025 17:09:28 -0600

Bug 1995393 - Vendor libwebrtc from a7cb662276

Upstream commit: https://webrtc.googlesource.com/src/+/a7cb66227619b1ea92b8b7e0983b90404ec91494
    Use injected clock in voip_core

    Stops using the global clock methods from time_utils.

    This CL was uploaded by an experimental version of git cl split
    (https://crbug.com/389069356).

    R=danilchap@webrtc.org, hta@webrtc.org

    Bug: webrtc:42223992
    Change-Id: Icc2570e5407bc3bec8c2772b15a73421ad8a36ee
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/404941
    Auto-Submit: Evan Shrubsole <eshr@webrtc.org>
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Commit-Queue: Evan Shrubsole <eshr@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Cr-Commit-Position: refs/heads/main@{#45372}

Diffstat:
Mthird_party/libwebrtc/README.mozilla.last-vendor | 4++--
Mthird_party/libwebrtc/audio/voip/voip_core.cc | 3+--
2 files changed, 3 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:06:31.420418+00:00. +libwebrtc updated from /Users/danielbaker/elm/.moz-fast-forward/moz-libwebrtc commit mozpatches on 2025-10-23T23:09:16.165301+00:00. # base of lastest vendoring -29eb47c612 +a7cb662276 diff --git a/third_party/libwebrtc/audio/voip/voip_core.cc b/third_party/libwebrtc/audio/voip/voip_core.cc @@ -40,7 +40,6 @@ #include "rtc_base/logging.h" #include "rtc_base/random.h" #include "rtc_base/synchronization/mutex.h" -#include "rtc_base/time_utils.h" namespace webrtc { @@ -152,7 +151,7 @@ ChannelId VoipCore::CreateChannel(Transport* transport, // Set local ssrc to random if not set by caller. if (!local_ssrc) { - Random random(TimeMicros()); + Random random(env_.clock().TimeInMicroseconds()); local_ssrc = random.Rand<uint32_t>(); }