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

Unified Diff: components/gcm_driver/gcm_client_impl.cc

Issue 500383003: Remove implicit conversions from scoped_refptr to T* in components/ (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
Index: components/gcm_driver/gcm_client_impl.cc
diff --git a/components/gcm_driver/gcm_client_impl.cc b/components/gcm_driver/gcm_client_impl.cc
index 02ea2326fc055d2d0195123c957e87549cb1557f..3b4e96426a247b757d7799a1c3c4e8e2b60fe568 100644
--- a/components/gcm_driver/gcm_client_impl.cc
+++ b/components/gcm_driver/gcm_client_impl.cc
@@ -300,7 +300,7 @@ void GCMClientImpl::Initialize(
scoped_ptr<Encryptor> encryptor,
GCMClient::Delegate* delegate) {
DCHECK_EQ(UNINITIALIZED, state_);
- DCHECK(url_request_context_getter);
+ DCHECK(url_request_context_getter.get());
DCHECK(delegate);
url_request_context_getter_ = url_request_context_getter;
@@ -501,7 +501,7 @@ void GCMClientImpl::StartCheckin() {
kDefaultBackoffPolicy,
base::Bind(&GCMClientImpl::OnCheckinCompleted,
weak_ptr_factory_.GetWeakPtr()),
- url_request_context_getter_,
+ url_request_context_getter_.get(),
&recorder_));
// Taking a snapshot of the accounts count here, as there might be an asynch
// update of the account tokens while checkin is in progress.

Powered by Google App Engine
This is Rietveld 408576698