| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc
|
| index 15356ab379ef669092ba358ea4ce61a299422a57..52a7b735e95cb5823846855edf6dd5fc77eb74de 100644
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc
|
| +++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc
|
| @@ -120,9 +120,10 @@ void OnResolveProxyHandler(const GURL& url,
|
| !config->IsDataReductionProxy(result->proxy_server().host_port_pair(),
|
| NULL));
|
| bool data_saver_proxy_used = true;
|
| - if (!result->proxy_server().is_direct() || result->proxy_list().size() != 1 ||
|
| - url.SchemeIsWSOrWSS())
|
| + if (result->is_empty() || !result->proxy_server().is_direct() ||
|
| + result->proxy_list().size() != 1 || url.SchemeIsWSOrWSS()) {
|
| return;
|
| + }
|
|
|
| if (data_reduction_proxy_config.is_valid()) {
|
| net::ProxyInfo data_reduction_proxy_info;
|
|
|