Files
Michael Froman d6c5c8ce40 Bug 1993083 - Vendor libwebrtc from 97a3382bf6
Upstream commit: https://webrtc.googlesource.com/src/+/97a3382bf662bf5289669829d3d6c8ef55b4731d
    IWYU rtc_base (misc)

    using the usual
      find rtc_base -name "*.h" -o -name "*.cc" | xargs tools_webrtc/iwyu/apply-include-cleaner
    followed by
      tools_webrtc/gn_check_autofix.py -C out/Default
    followed by
      git cl format

    and manual resolution or reverts of files that require a more
    focused review.

    Split from
      https://webrtc-review.googlesource.com/c/src/+/398903

    Bug: webrtc:42226242
    Change-Id: I9893da7f4da437d3a38277aaca7fafc8bf0b9bf3
    Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/399060
    Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
    Reviewed-by: Harald Alvestrand <hta@webrtc.org>
    Commit-Queue: Philipp Hancke <phancke@meta.com>
    Cr-Commit-Position: refs/heads/main@{#45122}
2025-10-16 09:39:31 +00:00

24 lines
757 B
Diff

From: Andreas Pehrson <apehrson@mozilla.com>
Date: Tue, 2 Nov 2021 14:35:00 +0000
Subject: Bug 1729455 - Ensure the libwebrtc system clock is not used. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D128244
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/3e8ac168ee3db089dd892bf140df53e15d6f0918
---
rtc_base/system_time.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/rtc_base/system_time.cc b/rtc_base/system_time.cc
index d5076431d3..e6ce4b2a74 100644
--- a/rtc_base/system_time.cc
+++ b/rtc_base/system_time.cc
@@ -13,6 +13,8 @@
#ifndef WEBRTC_EXCLUDE_SYSTEM_TIME
#include "rtc_base/system_time.h"
+#error Mozilla: Must not use the built-in libwebrtc clock
+
#include <time.h>
#include <cstdint>