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 ac0c4ce4a9d71e3b97619fc3b27777401dd1ccdf..5b3d542a21804409ba3a838f48dd283901638fc0 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 |