Chromium Code Reviews| Index: net/http/http_response_body_drainer.cc |
| diff --git a/net/http/http_response_body_drainer.cc b/net/http/http_response_body_drainer.cc |
| index 903f501d8237d723391b0c55bc6c0daf5de99ab5..87871d1b57fd8bcbe1d72f2ad236ae527a964a2e 100644 |
| --- a/net/http/http_response_body_drainer.cc |
| +++ b/net/http/http_response_body_drainer.cc |
| @@ -98,9 +98,6 @@ int HttpResponseBodyDrainer::DoDrainResponseBodyComplete(int result) { |
| if (result < 0) |
| return result; |
| - if (result == 0) |
| - return ERR_CONNECTION_CLOSED; |
| - |
| total_read_ += result; |
| if (stream_->IsResponseBodyComplete()) |
| return OK; |