diff options
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r-- | net/disk_cache/backend_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc index 5cada55..96f8723 100644 --- a/net/disk_cache/backend_impl.cc +++ b/net/disk_cache/backend_impl.cc @@ -428,7 +428,7 @@ BackendImpl::~BackendImpl() { // ------------------------------------------------------------------------ int32 BackendImpl::GetEntryCount() const { - if (!index_) + if (!index_ || disabled_) return 0; // num_entries includes entries already evicted. int32 not_deleted = data_->header.num_entries - |