Index: third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
index 1733f3b17dbd792b377320bcec103fa29fe0b09d..7f852adf85adcd5856efac5caa68abab28938728 100644 |
--- a/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp |
@@ -8,6 +8,7 @@ |
#include "public/platform/WebRTCSessionDescription.h" |
#include "public/web/WebScriptSource.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "third_party/WebKit/public/platform/WebRTCRtpReceiver.h" |
#include "third_party/WebKit/public/platform/WebViewScheduler.h" |
#include "web/WebLocalFrameImpl.h" |
#include "web/WebViewImpl.h" |
@@ -78,6 +79,10 @@ class MockWebRTCPeerConnectionHandler : public WebRTCPeerConnectionHandler { |
void removeStream(const WebMediaStream&) override {} |
void getStats(const WebRTCStatsRequest&) override {} |
void getStats(std::unique_ptr<WebRTCStatsReportCallback>) override {} |
+ blink::WebVector<std::unique_ptr<blink::WebRTCRtpReceiver>> getReceivers() |
+ override { |
+ return blink::WebVector<std::unique_ptr<blink::WebRTCRtpReceiver>>(); |
+ } |
WebRTCDataChannelHandler* createDataChannel( |
const WebString& label, |
const WebRTCDataChannelInit&) override { |