Index: net/quic/congestion_control/receive_algorithm_interface.cc |
diff --git a/net/quic/congestion_control/receive_algorithm_interface.cc b/net/quic/congestion_control/receive_algorithm_interface.cc |
index 72164ef1407bf3e91a6af9471e51e24c69f460b7..a619dd5c5a6e54213e8703ffa73c485372116e94 100644 |
--- a/net/quic/congestion_control/receive_algorithm_interface.cc |
+++ b/net/quic/congestion_control/receive_algorithm_interface.cc |
@@ -9,13 +9,8 @@ |
namespace net { |
// Factory for receive side congestion control algorithm. |
-ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create( |
- CongestionFeedbackType type) { |
- switch (type) { |
- case kTCP: |
- return new TcpReceiver(); |
- } |
- return nullptr; |
+ReceiveAlgorithmInterface* ReceiveAlgorithmInterface::Create() { |
+ return new TcpReceiver(); |
} |
} // namespace net |