summaryrefslogtreecommitdiffstats
path: root/chromium/content/browser/dom_storage/dom_storage_context_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/dom_storage/dom_storage_context_impl.cc')
-rw-r--r--chromium/content/browser/dom_storage/dom_storage_context_impl.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/chromium/content/browser/dom_storage/dom_storage_context_impl.cc b/chromium/content/browser/dom_storage/dom_storage_context_impl.cc
index 2c31bd627b3..05a65870587 100644
--- a/chromium/content/browser/dom_storage/dom_storage_context_impl.cc
+++ b/chromium/content/browser/dom_storage/dom_storage_context_impl.cc
@@ -160,17 +160,6 @@ void DOMStorageContextImpl::DeleteSessionStorage(
NotifyAreaCleared(area, usage_info.origin);
}
-void DOMStorageContextImpl::PurgeMemory() {
- // We can only purge memory from the local storage namespace
- // which is backed by disk.
- // TODO(marja): Purge sessionStorage, too. (Requires changes to the FastClear
- // functionality.)
- StorageNamespaceMap::iterator found =
- namespaces_.find(kLocalStorageNamespaceId);
- if (found != namespaces_.end())
- found->second->PurgeMemory(DOMStorageNamespace::PURGE_AGGRESSIVE);
-}
-
void DOMStorageContextImpl::Shutdown() {
is_shutdown_ = true;
StorageNamespaceMap::const_iterator it = namespaces_.begin();