| Index: chrome/browser/safe_browsing/download_protection_service.cc
|
| diff --git a/chrome/browser/safe_browsing/download_protection_service.cc b/chrome/browser/safe_browsing/download_protection_service.cc
|
| index dd4083f9be5172ca354675efe6855b0b0ba61844..f4fbfec6996878d49c02e284dc82bd8f912f61db 100644
|
| --- a/chrome/browser/safe_browsing/download_protection_service.cc
|
| +++ b/chrome/browser/safe_browsing/download_protection_service.cc
|
| @@ -781,10 +781,9 @@ class DownloadProtectionService::CheckClientDownloadRequest
|
|
|
| DVLOG(2) << "Sending a request for URL: "
|
| << item_->GetUrlChain().back();
|
| - fetcher_.reset(net::URLFetcher::Create(0 /* ID used for testing */,
|
| - GetDownloadRequestUrl(),
|
| - net::URLFetcher::POST,
|
| - this));
|
| + fetcher_ = net::URLFetcher::Create(0 /* ID used for testing */,
|
| + GetDownloadRequestUrl(),
|
| + net::URLFetcher::POST, this);
|
| fetcher_->SetLoadFlags(net::LOAD_DISABLE_CACHE);
|
| fetcher_->SetAutomaticallyRetryOn5xx(false); // Don't retry on error.
|
| fetcher_->SetRequestContext(service_->request_context_getter_.get());
|
|
|