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

Unified Diff: components/invalidation/impl/gcm_network_channel.cc

Issue 1440593004: Make operators on scoped_ptr match the ones defined for std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/invalidation/impl/gcm_network_channel.cc
diff --git a/components/invalidation/impl/gcm_network_channel.cc b/components/invalidation/impl/gcm_network_channel.cc
index 7e66446480778614e0409a6afea84d3c145c5b7b..449b5f5f23d74d8a89c1cf3902ad3876022586c5 100644
--- a/components/invalidation/impl/gcm_network_channel.cc
+++ b/components/invalidation/impl/gcm_network_channel.cc
@@ -229,7 +229,7 @@ void GCMNetworkChannel::OnGetTokenComplete(
void GCMNetworkChannel::OnURLFetchComplete(const net::URLFetcher* source) {
DCHECK(CalledOnValidThread());
- DCHECK_EQ(fetcher_, source);
+ DCHECK_EQ(fetcher_.get(), source);
// Free fetcher at the end of function.
scoped_ptr<net::URLFetcher> fetcher = fetcher_.Pass();

Powered by Google App Engine
This is Rietveld 408576698