Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: content/browser/cache_storage/cache_storage.cc

Issue 2901083002: [CacheStorage] Pad and bin opaque resource sizes. (Closed)
Patch Set: Rebased and resolved conflicts. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/cache_storage/cache_storage.cc
diff --git a/content/browser/cache_storage/cache_storage.cc b/content/browser/cache_storage/cache_storage.cc
index de76b56bf8df750e467cc9de040b9bc455b6523d..fec96827485aaac3a33e8976330a840d1339682a 100644
--- a/content/browser/cache_storage/cache_storage.cc
+++ b/content/browser/cache_storage/cache_storage.cc
@@ -780,7 +780,7 @@ void CacheStorage::CreateCacheDidCreateCache(
cache_map_.insert(std::make_pair(cache_name, std::move(cache)));
cache_index_->Insert(
- CacheStorageIndex::CacheMetadata(cache_name, cache_ptr->cache_size()));
+ CacheStorageIndex::CacheMetadata(cache_name, cache_ptr->CacheSize()));
cache_loader_->WriteIndex(
*cache_index_, base::Bind(&CacheStorage::CreateCacheDidWriteIndex,

Powered by Google App Engine
This is Rietveld 408576698