Index: net/quic/chromium/quic_stream_factory.cc |
diff --git a/net/quic/chromium/quic_stream_factory.cc b/net/quic/chromium/quic_stream_factory.cc |
index a805a87aa8e8cf3f6a1df65339810ee971b77c88..18299f3c4d7a5fc71571646fbec41e55a384864f 100644 |
--- a/net/quic/chromium/quic_stream_factory.cc |
+++ b/net/quic/chromium/quic_stream_factory.cc |
@@ -1987,7 +1987,7 @@ void QuicStreamFactory::MaybeInitialize() { |
// touches quic_server_info_map. |
const QuicServerInfoMap& quic_server_info_map = |
http_server_properties_->quic_server_info_map(); |
- std::vector<QuicServerId> server_list(quic_server_info_map.size()); |
+ std::vector<QuicServerId> server_list; |
for (const auto& key_value : quic_server_info_map) |
server_list.push_back(key_value.first); |
for (auto it = server_list.rbegin(); it != server_list.rend(); ++it) { |