Index: net/disk_cache/backend_impl.cc |
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc |
index cb2832f1b1cc4b5c79891e36ed390fa79e0dce15..0f8c3fdd1957b595167fc512aebbeccf05d7a39e 100644 |
--- a/net/disk_cache/backend_impl.cc |
+++ b/net/disk_cache/backend_impl.cc |
@@ -867,7 +867,7 @@ int32 BackendImpl::GetCurrentEntryId() const { |
} |
int BackendImpl::MaxFileSize() const { |
- return max_size_ / 8; |
+ return cache_type() == net::PNACL_CACHE ? max_size_ : max_size_ / 8; |
} |
void BackendImpl::ModifyStorageSize(int32 old_size, int32 new_size) { |