Index: components/policy/core/common/cloud/user_info_fetcher.cc |
diff --git a/components/policy/core/common/cloud/user_info_fetcher.cc b/components/policy/core/common/cloud/user_info_fetcher.cc |
index b8f9f74df1828dd54975b6e71820b24fbb4146ca..b1f6cd9ca1971596b24512ab4825acc04ab4b3d0 100644 |
--- a/components/policy/core/common/cloud/user_info_fetcher.cc |
+++ b/components/policy/core/common/cloud/user_info_fetcher.cc |
@@ -41,9 +41,9 @@ UserInfoFetcher::~UserInfoFetcher() { |
void UserInfoFetcher::Start(const std::string& access_token) { |
// Create a URLFetcher and start it. |
- url_fetcher_.reset(net::URLFetcher::Create( |
- 0, GaiaUrls::GetInstance()->oauth_user_info_url(), |
- net::URLFetcher::GET, this)); |
+ url_fetcher_ = |
+ net::URLFetcher::Create(0, GaiaUrls::GetInstance()->oauth_user_info_url(), |
+ net::URLFetcher::GET, this); |
url_fetcher_->SetRequestContext(context_); |
url_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SEND_COOKIES | |
net::LOAD_DO_NOT_SAVE_COOKIES); |