Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
index 4f587056a7fe8fcb0bc44afd17d9e7e80668fc7d..b45cd94e1ff1a66d2112ca0ca3233f63e6c7b10c 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc |
@@ -258,7 +258,7 @@ void DataReductionProxyNetworkDelegate::OnBeforeSendHeadersInternal( |
if (proxy_info.proxy_server().host_port_pair().IsEmpty()) |
return; |
if (!data_reduction_proxy_config_->IsDataReductionProxy( |
- proxy_info.proxy_server().host_port_pair(), nullptr)) { |
+ proxy_info.proxy_server(), nullptr)) { |
return; |
} |
@@ -442,7 +442,7 @@ bool DataReductionProxyNetworkDelegate::WasEligibleWithoutHoldback( |
const net::ProxyRetryInfoMap& proxy_retry_info) const { |
DCHECK(proxy_info.is_empty() || proxy_info.is_direct() || |
!data_reduction_proxy_config_->IsDataReductionProxy( |
- proxy_info.proxy_server().host_port_pair(), nullptr)); |
+ proxy_info.proxy_server(), nullptr)); |
if (!util::EligibleForDataReductionProxy(proxy_info, request.url(), |
request.method())) { |
return false; |