summaryrefslogtreecommitdiffstats
path: root/net/disk_cache
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache')
-rw-r--r--net/disk_cache/mem_backend_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/disk_cache/mem_backend_impl.cc b/net/disk_cache/mem_backend_impl.cc
index cf4a411..4180a9d 100644
--- a/net/disk_cache/mem_backend_impl.cc
+++ b/net/disk_cache/mem_backend_impl.cc
@@ -43,7 +43,7 @@ bool MemBackendImpl::Init() {
int64 total_memory = base::SysInfo::AmountOfPhysicalMemory();
- if (total_memory < 0) {
+ if (total_memory <= 0) {
max_size_ = kDefaultCacheSize;
return true;
}