diff options
Diffstat (limited to 'net/disk_cache/entry_impl.cc')
-rw-r--r-- | net/disk_cache/entry_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/entry_impl.cc b/net/disk_cache/entry_impl.cc index 75ab5ab..58509c1 100644 --- a/net/disk_cache/entry_impl.cc +++ b/net/disk_cache/entry_impl.cc @@ -699,9 +699,9 @@ bool EntryImpl::MoveToLocalBuffer(int index) { bool EntryImpl::ImportSeparateFile(int index, int offset, int buf_len) { if (entry_.Data()->data_size[index] > offset + buf_len) { - entry_.Data()->data_size[index] = offset + buf_len; unreported_size_[index] += offset + buf_len - entry_.Data()->data_size[index]; + entry_.Data()->data_size[index] = offset + buf_len; } if (!MoveToLocalBuffer(index)) |