summaryrefslogtreecommitdiffstats
path: root/chrome_frame/urlmon_upload_data_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/urlmon_upload_data_stream.cc')
-rw-r--r--chrome_frame/urlmon_upload_data_stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/urlmon_upload_data_stream.cc b/chrome_frame/urlmon_upload_data_stream.cc
index 8aae0df7..05a2b14 100644
--- a/chrome_frame/urlmon_upload_data_stream.cc
+++ b/chrome_frame/urlmon_upload_data_stream.cc
@@ -41,7 +41,7 @@ STDMETHODIMP UrlmonUploadDataStream::Read(void* pv, ULONG cb, ULONG* read) {
scoped_refptr<net::IOBufferWithSize> buf(
new net::IOBufferWithSize(bytes_to_copy_now));
- int bytes_read = request_body_stream_->Read(buf, buf->size());
+ int bytes_read = request_body_stream_->ReadSync(buf, buf->size());
if (bytes_read == 0) // Reached the end of the stream.
break;