Chromium Code Reviews| Index: net/spdy/spdy_http_stream.cc |
| diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc |
| index f642dc4b326e901a26bbbe2e54758f07277dbcbb..0448f787b6cd96cf306b7ea9814fc665e30580a6 100644 |
| --- a/net/spdy/spdy_http_stream.cc |
| +++ b/net/spdy/spdy_http_stream.cc |
| @@ -283,7 +283,7 @@ int SpdyHttpStream::SendData() { |
| CHECK_EQ(0, request_body_buf_->BytesRemaining()); |
| // Read the data from the request body stream. |
| - const int bytes_read = request_body_stream_->Read( |
| + const int bytes_read = request_body_stream_->ReadSync( |
|
willchan no longer on Chromium
2012/09/24 23:37:08
It'd be great if we could switch to Read() instead
hashimoto
2012/09/25 10:47:56
I will do it soon :)
|
| raw_request_body_buf_, raw_request_body_buf_->size()); |
| DCHECK(!waiting_for_chunk_ || bytes_read != ERR_IO_PENDING); |