Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc |
index fe8b897d18613d1b7b2f186e32e0625d40f73a84..20154b7923b5a34f6df2f23adde6aaa825af9f3f 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc |
@@ -69,8 +69,8 @@ class SecureProxyChecker : public net::URLFetcherDelegate { |
void CheckIfSecureProxyIsAllowed(const GURL& secure_proxy_check_url, |
FetcherResponseCallback fetcher_callback) { |
- fetcher_.reset(net::URLFetcher::Create(secure_proxy_check_url, |
- net::URLFetcher::GET, this)); |
+ fetcher_ = net::URLFetcher::Create(secure_proxy_check_url, |
+ net::URLFetcher::GET, this); |
fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE | net::LOAD_BYPASS_PROXY); |
fetcher_->SetRequestContext(url_request_context_getter_.get()); |
// Configure max retries to be at most kMaxRetries times for 5xx errors. |