summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/entry_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/entry_impl.cc')
-rw-r--r--net/disk_cache/entry_impl.cc2
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))