summaryrefslogtreecommitdiff
path: root/waterfox/0001-TestAudioEventTimeline.cpp-gtest-fix-build.patch
blob: abb11b0360d73b924047210b6670e5faff56d618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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