Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6043)

Unified Diff: chrome/browser/chromeos/geolocation/simple_geolocation_request.cc

Issue 577443002: Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/geolocation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/geolocation/simple_geolocation_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/geolocation/simple_geolocation_request.cc
diff --git a/chrome/browser/chromeos/geolocation/simple_geolocation_request.cc b/chrome/browser/chromeos/geolocation/simple_geolocation_request.cc
index ca1e34ab45dcc1eb8d00140dcfb8428fe12c5c90..96d05004e54dfd9a4685410b10da4266a7a89e96 100644
--- a/chrome/browser/chromeos/geolocation/simple_geolocation_request.cc
+++ b/chrome/browser/chromeos/geolocation/simple_geolocation_request.cc
@@ -299,7 +299,7 @@ void SimpleGeolocationRequest::StartRequest() {
url_fetcher_.reset(
net::URLFetcher::Create(request_url_, net::URLFetcher::POST, this));
- url_fetcher_->SetRequestContext(url_context_getter_);
+ url_fetcher_->SetRequestContext(url_context_getter_.get());
url_fetcher_->SetUploadData("application/json",
std::string(kSimpleGeolocationRequestBody));
url_fetcher_->SetLoadFlags(net::LOAD_BYPASS_CACHE |
« no previous file with comments | « chrome/browser/chromeos/geolocation/simple_geolocation_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698