diff options
Diffstat (limited to 'net/base/upload_data_stream.cc')
-rw-r--r-- | net/base/upload_data_stream.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/base/upload_data_stream.cc b/net/base/upload_data_stream.cc index 221ef28..21f4ce8 100644 --- a/net/base/upload_data_stream.cc +++ b/net/base/upload_data_stream.cc @@ -27,8 +27,7 @@ UploadDataStream::~UploadDataStream() { } void UploadDataStream::DidConsume(size_t num_bytes) { - // TODO(vandebo): Change back to a DCHECK when issue 27870 is resolved. - CHECK(num_bytes <= buf_len_); + DCHECK_LE(num_bytes, buf_len_); DCHECK(!eof_); buf_len_ -= num_bytes; |