summaryrefslogtreecommitdiff
path: root/waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2021-09-30 08:13:05 -0400
committerB. Stack <bgstack15@gmail.com>2021-09-30 08:13:05 -0400
commitc56baf53a6529a19dce466b3dae8ee03a98e9e5f (patch)
tree5307079b7d00cc1089c5b28d67162d02c75c17ee /waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch
parentMerge branch 'newmoon-bump' into 'master' (diff)
downloadstackrpms-c56baf53a6529a19dce466b3dae8ee03a98e9e5f.tar.gz
stackrpms-c56baf53a6529a19dce466b3dae8ee03a98e9e5f.tar.bz2
stackrpms-c56baf53a6529a19dce466b3dae8ee03a98e9e5f.zip
wf 2021.09 rc1
Diffstat (limited to 'waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch')
-rw-r--r--waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch b/waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch
new file mode 100644
index 0000000..abb11b0
--- /dev/null
+++ b/waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch
@@ -0,0 +1,34 @@
+From 81d8dbb800b7aa396b6b0a57add39c7e86d7f306 Mon Sep 17 00:00:00 2001
+From: Phantom X <PhantomX@users.noreply.github.com>
+Date: Sun, 19 Sep 2021 16:55:00 -0300
+Subject: [PATCH] TestAudioEventTimeline.h gtest: fix build
+
+---
+ dom/media/webaudio/gtest/TestAudioEventTimeline.cpp | 11 -----------
+ 1 file changed, 11 deletions(-)
+
+diff --git a/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp b/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
+index da7c4c4..b79afa5 100644
+--- a/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
++++ b/dom/media/webaudio/gtest/TestAudioEventTimeline.cpp
+@@ -9,17 +9,6 @@
+ #include <limits>
+ #include "gtest/gtest.h"
+
+-// Mock the MediaStream class
+-namespace mozilla {
+-class MediaStream
+-{
+- NS_INLINE_DECL_THREADSAFE_REFCOUNTING(MediaStream)
+-private:
+- ~MediaStream() {
+- };
+-};
+-}
+-
+ using namespace mozilla;
+ using namespace mozilla::dom;
+ using std::numeric_limits;
+--
+2.31.1
+
bgstack15