Index: chrome/browser/policy/cloud/external_policy_data_updater.cc |
diff --git a/chrome/browser/policy/cloud/external_policy_data_updater.cc b/chrome/browser/policy/cloud/external_policy_data_updater.cc |
index a987e43a565552fbeba0ebe578a9ca92ce444440..c257442062468064a20e3c071bc274818eacca81 100644 |
--- a/chrome/browser/policy/cloud/external_policy_data_updater.cc |
+++ b/chrome/browser/policy/cloud/external_policy_data_updater.cc |
@@ -217,11 +217,9 @@ const ExternalPolicyDataUpdater::Request& |
void ExternalPolicyDataUpdater::FetchJob::Start() { |
fetcher_.reset(net::URLFetcher::Create(id_, GURL(request_.url), |
net::URLFetcher::GET, this)); |
- fetcher_->SetRequestContext(updater_->request_context_); |
- fetcher_->SetLoadFlags(net::LOAD_BYPASS_CACHE | |
- net::LOAD_DISABLE_CACHE | |
- net::LOAD_DO_NOT_SAVE_COOKIES | |
- net::LOAD_IS_DOWNLOAD | |
+ fetcher_->SetRequestContext(updater_->request_context_.get()); |
+ fetcher_->SetLoadFlags(net::LOAD_BYPASS_CACHE | net::LOAD_DISABLE_CACHE | |
+ net::LOAD_DO_NOT_SAVE_COOKIES | net::LOAD_IS_DOWNLOAD | |
net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SEND_AUTH_DATA); |
fetcher_->SetAutomaticallyRetryOnNetworkChanges(3); |