Index: content/browser/dom_storage/dom_storage_host.cc |
diff --git a/content/browser/dom_storage/dom_storage_host.cc b/content/browser/dom_storage/dom_storage_host.cc |
index 3db7d5a15ec774e21de3ed46a77a109b981beed7..3e666b2d7d71df7c6102b67ca563891081a4ecfa 100644 |
--- a/content/browser/dom_storage/dom_storage_host.cc |
+++ b/content/browser/dom_storage/dom_storage_host.cc |
@@ -55,11 +55,7 @@ bool DOMStorageHost::ExtractAreaValues( |
if (!area->IsLoadedInMemory()) { |
DOMStorageNamespace* ns = GetNamespace(connection_id); |
DCHECK(ns); |
- if (ns->CountInMemoryAreas() > kMaxInMemoryStorageAreas) { |
- ns->PurgeMemory(DOMStorageNamespace::PURGE_UNOPENED); |
- if (ns->CountInMemoryAreas() > kMaxInMemoryStorageAreas) |
- ns->PurgeMemory(DOMStorageNamespace::PURGE_AGGRESSIVE); |
- } |
+ ns->PurgeMemory(DOMStorageNamespace::PURGE_UNSPECIFIED); |
} |
area->ExtractValues(map); |
return true; |