| Index: net/quic/quic_stream_factory.cc
|
| diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
|
| index 8118289b1acccc0cdedf5ca80e8a5f1015f37653..6ec668d142030c37048fe8e4d37ba3a3e5848bf1 100644
|
| --- a/net/quic/quic_stream_factory.cc
|
| +++ b/net/quic/quic_stream_factory.cc
|
| @@ -1618,9 +1618,11 @@ void QuicStreamFactory::ActivateSession(const QuicServerId& server_id,
|
|
|
| int64_t QuicStreamFactory::GetServerNetworkStatsSmoothedRttInMicroseconds(
|
| const QuicServerId& server_id) const {
|
| + HostPortPair host_port_pair = server_id.host_port_pair();
|
| + url::SchemeHostPort scheme_host_port("https", host_port_pair.host(),
|
| + host_port_pair.port());
|
| const ServerNetworkStats* stats =
|
| - http_server_properties_->GetServerNetworkStats(
|
| - server_id.host_port_pair());
|
| + http_server_properties_->GetServerNetworkStats(scheme_host_port);
|
| if (stats == nullptr)
|
| return 0;
|
| return stats->srtt.InMicroseconds();
|
| @@ -1727,7 +1729,11 @@ void QuicStreamFactory::ProcessGoingAwaySession(
|
| ServerNetworkStats network_stats;
|
| network_stats.srtt = base::TimeDelta::FromMicroseconds(stats.srtt_us);
|
| network_stats.bandwidth_estimate = stats.estimated_bandwidth;
|
| - http_server_properties_->SetServerNetworkStats(server_id.host_port_pair(),
|
| + HostPortPair host_port_pair = server_id.host_port_pair();
|
| + url::SchemeHostPort scheme_host_port("https", host_port_pair.host(),
|
| + host_port_pair.port());
|
| +
|
| + http_server_properties_->SetServerNetworkStats(scheme_host_port,
|
| network_stats);
|
| return;
|
| }
|
|
|