summaryrefslogtreecommitdiffstats
path: root/content/browser/geolocation/network_location_request.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/geolocation/network_location_request.cc')
-rw-r--r--content/browser/geolocation/network_location_request.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/geolocation/network_location_request.cc b/content/browser/geolocation/network_location_request.cc
index b4aac01..849381c 100644
--- a/content/browser/geolocation/network_location_request.cc
+++ b/content/browser/geolocation/network_location_request.cc
@@ -92,7 +92,7 @@ bool NetworkLocationRequest::MakeRequest(const string16& access_token,
GURL request_url = FormRequestURL(url_);
url_fetcher_.reset(net::URLFetcher::Create(
url_fetcher_id_for_tests, request_url, net::URLFetcher::POST, this));
- url_fetcher_->SetRequestContext(url_context_);
+ url_fetcher_->SetRequestContext(url_context_.get());
std::string upload_data;
FormUploadData(wifi_data, timestamp, access_token, &upload_data);
url_fetcher_->SetUploadData("application/json", upload_data);