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

Unified Diff: components/invalidation/gcm_network_channel.cc

Issue 503353002: Remove implicit conversions from scoped_refptr to T* in components/invalidation/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | components/invalidation/invalidation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/invalidation/gcm_network_channel.cc
diff --git a/components/invalidation/gcm_network_channel.cc b/components/invalidation/gcm_network_channel.cc
index fa16b9162b55da57bde9c85e7d7f8a97917f9881..277213148199738e146f9e831c85e02e9cb9b44f 100644
--- a/components/invalidation/gcm_network_channel.cc
+++ b/components/invalidation/gcm_network_channel.cc
@@ -209,7 +209,7 @@ void GCMNetworkChannel::OnGetTokenComplete(
DVLOG(2) << "Got access token, sending message";
fetcher_.reset(net::URLFetcher::Create(
BuildUrl(registration_id_), net::URLFetcher::POST, this));
- fetcher_->SetRequestContext(request_context_getter_);
+ fetcher_->SetRequestContext(request_context_getter_.get());
const std::string auth_header("Authorization: Bearer " + access_token_);
fetcher_->AddExtraRequestHeader(auth_header);
if (!echo_token_.empty()) {
« no previous file with comments | « no previous file | components/invalidation/invalidation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698