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( |
raw_request_body_buf_, raw_request_body_buf_->size()); |
DCHECK(!waiting_for_chunk_ || bytes_read != ERR_IO_PENDING); |