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

Unified Diff: components/cronet/android/url_request_adapter.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 | « no previous file | components/cronet/android/wrapped_channel_upload_element_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/url_request_adapter.cc
diff --git a/components/cronet/android/url_request_adapter.cc b/components/cronet/android/url_request_adapter.cc
index 9d9e29b2ce3258ab2a86ee8e506eb99426c7731c..1d984f2c1cbb659bbc06699645173c83aa997e1f 100644
--- a/components/cronet/android/url_request_adapter.cc
+++ b/components/cronet/android/url_request_adapter.cc
@@ -210,8 +210,9 @@ void URLRequestAdapter::Read() {
}
int bytes_read;
- if (url_request_->Read(
- read_buffer_, read_buffer_->RemainingCapacity(), &bytes_read)) {
+ if (url_request_->Read(read_buffer_.get(),
+ read_buffer_->RemainingCapacity(),
+ &bytes_read)) {
if (bytes_read == 0) {
OnRequestSucceeded();
break;
« no previous file with comments | « no previous file | components/cronet/android/wrapped_channel_upload_element_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698