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

Unified Diff: content/renderer/dom_storage/local_storage_cached_area.cc

Issue 2649963002: Enable mojo localstorage to actually store on disk. (Closed)
Patch Set: Remove Sync() method, and instead make sure browser test waits long enough. Created 3 years, 10 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/renderer/dom_storage/local_storage_cached_area.cc
diff --git a/content/renderer/dom_storage/local_storage_cached_area.cc b/content/renderer/dom_storage/local_storage_cached_area.cc
index a7ba25ed57f06cf00d6ece81ee364c866c84134d..a662cb7df8f421925eb4ac062c6f499e6e17707e 100644
--- a/content/renderer/dom_storage/local_storage_cached_area.cc
+++ b/content/renderer/dom_storage/local_storage_cached_area.cc
@@ -151,7 +151,6 @@ void LocalStorageCachedArea::RemoveItem(const base::string16& key,
void LocalStorageCachedArea::Clear(const GURL& page_url,
const std::string& storage_area_id) {
// No need to prime the cache in this case.
-
Reset();
map_ = new DOMStorageMap(kPerStorageAreaQuota);
ignore_all_mutations_ = true;
« no previous file with comments | « content/browser/dom_storage/local_storage_context_mojo.cc ('k') | content/test/data/dom_storage/store_data.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698