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

Unified Diff: components/cronet/android/wrapped_channel_upload_element_reader.cc

Issue 643693003: Fix compilation error due to removal of implicit scoped_refptr to ptr conversion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « components/cronet/android/url_request_adapter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/wrapped_channel_upload_element_reader.cc
diff --git a/components/cronet/android/wrapped_channel_upload_element_reader.cc b/components/cronet/android/wrapped_channel_upload_element_reader.cc
index 3027cbadab14600f46a5750c52bee900348b3e91..a4b0d0d3e70ed299a4898459c88e057b21b87f5c 100644
--- a/components/cronet/android/wrapped_channel_upload_element_reader.cc
+++ b/components/cronet/android/wrapped_channel_upload_element_reader.cc
@@ -41,7 +41,7 @@ int WrappedChannelElementReader::Read(net::IOBuffer* buf,
int buf_length,
const net::CompletionCallback& callback) {
DCHECK(!callback.is_null());
- DCHECK(delegate_);
+ DCHECK(delegate_.get());
// TODO(mef): Post the read to file thread.
int bytes_read = delegate_->ReadFromUploadChannel(buf, buf_length);
if (bytes_read < 0)
« no previous file with comments | « components/cronet/android/url_request_adapter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698