Index: webrtc/media/base/rtpdataengine.cc |
diff --git a/webrtc/media/base/rtpdataengine.cc b/webrtc/media/base/rtpdataengine.cc |
index 12a37fa180f59ed36f3ec2901aca3d2e1212a488..96f5a3b95fc70d3edbde74fdb230779648b4170d 100644 |
--- a/webrtc/media/base/rtpdataengine.cc |
+++ b/webrtc/media/base/rtpdataengine.cc |
@@ -40,11 +40,7 @@ RtpDataEngine::RtpDataEngine() { |
} |
DataMediaChannel* RtpDataEngine::CreateChannel( |
- DataChannelType data_channel_type, |
const MediaConfig& config) { |
- if (data_channel_type != DCT_RTP) { |
- return NULL; |
- } |
return new RtpDataMediaChannel(config); |
} |