| Index: chromeos/geolocation/simple_geolocation_request.cc
|
| diff --git a/chromeos/geolocation/simple_geolocation_request.cc b/chromeos/geolocation/simple_geolocation_request.cc
|
| index f5720965bd117357be1e849d2bb8de28f0de1869..ee7692f9d830596064784e0187beb2bb9c59d099 100644
|
| --- a/chromeos/geolocation/simple_geolocation_request.cc
|
| +++ b/chromeos/geolocation/simple_geolocation_request.cc
|
| @@ -295,8 +295,8 @@ void SimpleGeolocationRequest::StartRequest() {
|
| RecordUmaEvent(SIMPLE_GEOLOCATION_REQUEST_EVENT_REQUEST_START);
|
| ++retries_;
|
|
|
| - url_fetcher_.reset(
|
| - net::URLFetcher::Create(request_url_, net::URLFetcher::POST, this));
|
| + url_fetcher_ =
|
| + net::URLFetcher::Create(request_url_, net::URLFetcher::POST, this);
|
| url_fetcher_->SetRequestContext(url_context_getter_.get());
|
| url_fetcher_->SetUploadData("application/json",
|
| std::string(kSimpleGeolocationRequestBody));
|
|
|