Index: net/url_request/url_request.cc |
diff --git a/net/url_request/url_request.cc b/net/url_request/url_request.cc |
index 3f62e0c6b2aeda742ef72abe9d4b06c88a5313ab..a86b8e34f1f9c026cc6c4cdcfb6d42e50c21f9ef 100644 |
--- a/net/url_request/url_request.cc |
+++ b/net/url_request/url_request.cc |
@@ -513,8 +513,6 @@ void URLRequest::CancelWithSSLError(int error, const SSLInfo& ssl_info) { |
} |
void URLRequest::DoCancel(int error, const SSLInfo& ssl_info) { |
- DCHECK(error < 0); |
darin (slow to review)
2012/07/11 18:12:43
It feels wrong to allow non-negative (non-error) r
|
- |
// If the URL request already has an error status, then canceling is a no-op. |
// Plus, we don't want to change the error status once it has been set. |
if (status_.is_success()) { |