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 a6fa327ebc7a8fa126a65d6f6b510fd9283df16d..dd315b3be49b7b4f6f12de83ad0da83e04ffd475 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 |
@@ -253,7 +253,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; |
} |
@@ -433,7 +433,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; |