summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_stream.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_stream.cc')
-rw-r--r--net/spdy/spdy_stream.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/spdy/spdy_stream.cc b/net/spdy/spdy_stream.cc
index 3dc00e9..936fdf9 100644
--- a/net/spdy/spdy_stream.cc
+++ b/net/spdy/spdy_stream.cc
@@ -910,9 +910,8 @@ int SpdyStream::DoSendBody() {
// data portion, of course.
io_state_ = STATE_SEND_BODY_COMPLETE;
CHECK(delegate_);
- int status = delegate_->OnSendBody();
- CHECK(status == OK || status == ERR_IO_PENDING);
- return status;
+ delegate_->OnSendBody();
+ return ERR_IO_PENDING;
}
int SpdyStream::DoSendBodyComplete(int result) {