Index: webrtc/test/fake_network_pipe.cc |
diff --git a/webrtc/test/fake_network_pipe.cc b/webrtc/test/fake_network_pipe.cc |
index 103416779a7ffdc8d15f6d7685505f4c2c4a6292..8f2fee6c2c154eb63e192f8536d54f7717ff404f 100644 |
--- a/webrtc/test/fake_network_pipe.cc |
+++ b/webrtc/test/fake_network_pipe.cc |
@@ -28,16 +28,13 @@ |
} |
FakeNetworkPipe::FakeNetworkPipe(Clock* clock, |
- const FakeNetworkPipe::Config& config, |
- MediaType media_type) |
- : FakeNetworkPipe(clock, config, media_type, 1) {} |
+ const FakeNetworkPipe::Config& config) |
+ : FakeNetworkPipe(clock, config, 1) {} |
FakeNetworkPipe::FakeNetworkPipe(Clock* clock, |
const FakeNetworkPipe::Config& config, |
- MediaType media_type, |
uint64_t seed) |
: clock_(clock), |
- media_type_(media_type), |
packet_receiver_(NULL), |
random_(seed), |
config_(), |
@@ -202,7 +199,7 @@ |
while (!packets_to_deliver.empty()) { |
NetworkPacket* packet = packets_to_deliver.front(); |
packets_to_deliver.pop(); |
- packet_receiver_->DeliverPacket(media_type_, packet->data(), |
+ packet_receiver_->DeliverPacket(MediaType::ANY, packet->data(), |
packet->data_length(), PacketTime()); |
delete packet; |
} |