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

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

Issue 1428463002: [CacheStorage] Fix a failed cache migration issue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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.cc
diff --git a/content/browser/cache_storage/cache_storage.cc b/content/browser/cache_storage/cache_storage.cc
index 3961a4be69568210a88c46e38c49f1928f982c11..5765a890e7470a1e37487295829a5ac6fc990b1d 100644
--- a/content/browser/cache_storage/cache_storage.cc
+++ b/content/browser/cache_storage/cache_storage.cc
@@ -401,7 +401,7 @@ class CacheStorage::SimpleCacheLoader : public CacheStorage::CacheLoader {
return kBadIndexState;
}
- index.mutable_cache(0)->set_cache_dir(cache_dir);
+ index.mutable_cache(i)->set_cache_dir(cache_dir);
index_is_dirty = true;
}
}
« 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