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

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

Issue 2635313002: [CacheStorage] Disabled cached size DCHECK. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/cache_storage/cache_storage_cache.cc
diff --git a/content/browser/cache_storage/cache_storage_cache.cc b/content/browser/cache_storage/cache_storage_cache.cc
index 656baaf5909da288320469178f8bac0e1e7dec8e..aaa01343e0d42ad206e1869ef9835790b12152f6 100644
--- a/content/browser/cache_storage/cache_storage_cache.cc
+++ b/content/browser/cache_storage/cache_storage_cache.cc
@@ -1392,7 +1392,8 @@ void CacheStorageCache::InitGotCacheSize(const base::Closure& callback,
if (cache_size_ != CacheStorage::kSizeUnknown && cache_size_ != cache_size) {
// TODO(cmumford): Add UMA for this.
LOG(ERROR) << "Cache size/index mismatch";
- DCHECK_EQ(cache_size_, cache_size);
+ // Disabled for crbug.com/681900.
+ // DCHECK_EQ(cache_size_, cache_size);
}
cache_size_ = cache_size;
initializing_ = false;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698