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 474d497dc90d1f246866831dd15ad28e13ed8ec4..175f8279787b1fd30c0a03e19c0f310f8650dc06 100644 |
| --- a/net/spdy/spdy_http_stream.cc |
| +++ b/net/spdy/spdy_http_stream.cc |
| @@ -472,4 +472,9 @@ bool SpdyHttpStream::IsSpdyHttpStream() const { |
| return true; |
| } |
| +void SpdyHttpStream::Drain(HttpNetworkSession* session) { |
| + Close(false); |
| + delete this; |
| +} |
| + |
| } // namespace net |