summaryrefslogtreecommitdiff
path: root/media/webrtc/signaling/test/FakeMediaStreams.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/webrtc/signaling/test/FakeMediaStreams.h')
-rw-r--r--media/webrtc/signaling/test/FakeMediaStreams.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/media/webrtc/signaling/test/FakeMediaStreams.h b/media/webrtc/signaling/test/FakeMediaStreams.h
index 117d269055..0325bb700b 100644
--- a/media/webrtc/signaling/test/FakeMediaStreams.h
+++ b/media/webrtc/signaling/test/FakeMediaStreams.h
@@ -70,6 +70,7 @@ public:
gGraph = new MediaStreamGraph();
return gGraph;
}
+ uint32_t GraphRate() { return 16000; }
};
}
@@ -186,8 +187,6 @@ class Fake_MediaStream {
public:
Fake_MediaStream () : mListeners(), mTrackListeners(), mMutex("Fake MediaStream") {}
- static uint32_t GraphRate() { return 16000; }
-
void AddListener(Fake_MediaStreamListener *aListener) {
mozilla::MutexAutoLock lock(mMutex);
mListeners.insert(aListener);