| Index: net/quic/quic_stream_factory.cc
|
| diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
|
| index ee04541edb4b6a28aa2722fc5a9e768293f187e4..dd194ca0ea920c7af3c6698f21b702648038c8af 100644
|
| --- a/net/quic/quic_stream_factory.cc
|
| +++ b/net/quic/quic_stream_factory.cc
|
| @@ -1636,9 +1636,10 @@ void QuicStreamFactory::ActivateSession(const QuicServerId& server_id,
|
|
|
| int64_t QuicStreamFactory::GetServerNetworkStatsSmoothedRttInMicroseconds(
|
| const QuicServerId& server_id) const {
|
| + url::SchemeHostPort server("https", server_id.host_port_pair().host(),
|
| + server_id.host_port_pair().port());
|
| const ServerNetworkStats* stats =
|
| - http_server_properties_->GetServerNetworkStats(
|
| - server_id.host_port_pair());
|
| + http_server_properties_->GetServerNetworkStats(server);
|
| if (stats == nullptr)
|
| return 0;
|
| return stats->srtt.InMicroseconds();
|
| @@ -1750,8 +1751,9 @@ 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(),
|
| - network_stats);
|
| + url::SchemeHostPort server("https", server_id.host_port_pair().host(),
|
| + server_id.host_port_pair().port());
|
| + http_server_properties_->SetServerNetworkStats(server, network_stats);
|
| return;
|
| }
|
|
|
|
|