Index: net/http/http_stream_factory_impl.cc |
diff --git a/net/http/http_stream_factory_impl.cc b/net/http/http_stream_factory_impl.cc |
index 991e469c77ccf5dd367b36e25845aa865c36289b..81dcec0e56c0c63ae087448abe53fa848138f6bc 100644 |
--- a/net/http/http_stream_factory_impl.cc |
+++ b/net/http/http_stream_factory_impl.cc |
@@ -189,7 +189,7 @@ |
PortAlternateProtocolPair HttpStreamFactoryImpl::GetAlternateProtocolRequestFor( |
const GURL& original_url, |
- GURL* alternate_url) { |
+ GURL* alternate_url) const { |
if (!use_alternate_protocols()) |
return kNoAlternateProtocol; |
@@ -199,7 +199,7 @@ |
HostPortPair origin = HostPortPair(original_url.HostNoBrackets(), |
original_url.EffectiveIntPort()); |
- HttpServerProperties& http_server_properties = |
+ const HttpServerProperties& http_server_properties = |
*session_->http_server_properties(); |
if (!http_server_properties.HasAlternateProtocol(origin)) |
return kNoAlternateProtocol; |