Index: components/update_client/url_fetcher_downloader.cc |
diff --git a/components/update_client/url_fetcher_downloader.cc b/components/update_client/url_fetcher_downloader.cc |
index fd7f3da0b0bb54c227841b9e7de84d4e91879676..4edc1c4c7377b1562b64405b10d8c129c1eeaa88 100644 |
--- a/components/update_client/url_fetcher_downloader.cc |
+++ b/components/update_client/url_fetcher_downloader.cc |
@@ -33,8 +33,7 @@ UrlFetcherDownloader::~UrlFetcherDownloader() { |
void UrlFetcherDownloader::DoStartDownload(const GURL& url) { |
DCHECK(thread_checker_.CalledOnValidThread()); |
- url_fetcher_.reset( |
- net::URLFetcher::Create(0, url, net::URLFetcher::GET, this)); |
+ url_fetcher_ = net::URLFetcher::Create(0, url, net::URLFetcher::GET, this); |
url_fetcher_->SetRequestContext(context_getter_); |
url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES | |