Index: net/http/http_server_properties.h |
diff --git a/net/http/http_server_properties.h b/net/http/http_server_properties.h |
index c9a18f245ccb334161e5cbf8e35e07b04effbe59..70a9847e690ac80a380bc1a78462a06ddd23b623 100644 |
--- a/net/http/http_server_properties.h |
+++ b/net/http/http_server_properties.h |
@@ -111,7 +111,7 @@ struct NET_EXPORT AlternativeService { |
AlternativeService& operator=(const AlternativeService& alternative_service) = |
default; |
- HostPortPair host_port_pair() { return HostPortPair(host, port); } |
+ HostPortPair host_port_pair() const { return HostPortPair(host, port); } |
bool operator==(const AlternativeService& other) const { |
return protocol == other.protocol && host == other.host && |