Index: webrtc/media/sctp/sctpdataengine_unittest.cc |
diff --git a/webrtc/media/sctp/sctpdataengine_unittest.cc b/webrtc/media/sctp/sctpdataengine_unittest.cc |
index b32778d8c39ed65a1feef4ba97065b1c15751149..060b2d97491a778dadf22b82ea18bae875d63d97 100644 |
--- a/webrtc/media/sctp/sctpdataengine_unittest.cc |
+++ b/webrtc/media/sctp/sctpdataengine_unittest.cc |
@@ -265,8 +265,9 @@ class SctpDataMediaChannelTest : public testing::Test, |
SctpDataMediaChannel* CreateChannel(SctpFakeNetworkInterface* net, |
SctpFakeDataReceiver* recv) { |
- SctpDataMediaChannel* channel = |
- static_cast<SctpDataMediaChannel*>(engine_->CreateChannel(DCT_SCTP)); |
+ cricket::MediaConfig config; |
+ SctpDataMediaChannel* channel = static_cast<SctpDataMediaChannel*>( |
+ engine_->CreateChannel(DCT_SCTP, config)); |
channel->SetInterface(net); |
// When data is received, pass it to the SctpFakeDataReceiver. |
channel->SignalDataReceived.connect( |