| Index: chrome_frame/urlmon_upload_data_stream.cc
|
| diff --git a/chrome_frame/urlmon_upload_data_stream.cc b/chrome_frame/urlmon_upload_data_stream.cc
|
| index 8aae0df7ed6bf66618d321903490c2f384ab56b9..05a2b14314a70572f986719feceffde27fdfa11e 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;
|
|
|
|
|