summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/moz-patch-stack/0065.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /third_party/libwebrtc/moz-patch-stack/0065.patch
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/moz-patch-stack/0065.patch')
-rw-r--r--third_party/libwebrtc/moz-patch-stack/0065.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/third_party/libwebrtc/moz-patch-stack/0065.patch b/third_party/libwebrtc/moz-patch-stack/0065.patch
new file mode 100644
index 0000000000..85b4ae4747
--- /dev/null
+++ b/third_party/libwebrtc/moz-patch-stack/0065.patch
@@ -0,0 +1,31 @@
+From: Michael Froman <mfroman@mozilla.com>
+Date: Mon, 24 Oct 2022 14:03:00 -0500
+Subject: Bug 1797161 - pt3 - add static_assert to ensure we don't include
+ task_queue_win.cc in Mozilla builds. r?ng!
+
+Differential Revision: https://phabricator.services.mozilla.com/D160117
+Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/50b15e036924203147e34ec20e2689fe4a847645
+---
+ rtc_base/task_queue_win.cc | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/rtc_base/task_queue_win.cc b/rtc_base/task_queue_win.cc
+index 7e46d58e27..bf55a25c69 100644
+--- a/rtc_base/task_queue_win.cc
++++ b/rtc_base/task_queue_win.cc
+@@ -8,6 +8,15 @@
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
++// Mozilla - this file should not be included in Mozilla builds until
++// win32k API usage is removed. This was once done in Bug 1395259, but
++// the upstreaming attempt stalled. Until win32k usage is officially
++// removed upstream, we have reverted to upstream's version of the file
++// (to reduce or elminate merge conflicts), and a static assert is
++// placed here to ensure this file isn't accidentally included in the
++// Mozilla build.
++static_assert(false, "This file should not be built, see Bug 1797161.");
++
+ #include "rtc_base/task_queue_win.h"
+
+ // clang-format off