Index: net/base/io_buffer.cc |
diff --git a/net/base/io_buffer.cc b/net/base/io_buffer.cc |
index db2bffbc75f853aa84930c4eb23fa7dbf365a8c5..eb7094bf35fb393f6c45d579c0ee446ffbdc3fc2 100644 |
--- a/net/base/io_buffer.cc |
+++ b/net/base/io_buffer.cc |
@@ -13,7 +13,7 @@ IOBuffer::IOBuffer(int buffer_size) { |
data_ = new char[buffer_size]; |
} |
void ReusedIOBuffer::SetOffset(int offset) { |
- DCHECK(offset > 0 && offset < size_); |
+ DCHECK(offset >= 0 && offset < size_); |
data_ = base_->data() + offset; |
} |