| 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)
|
|
|