summaryrefslogtreecommitdiffstats
path: root/dom/storage/DOMStorageCache.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-11-08 10:49:03 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-11-08 10:49:03 +0100
commit60c83971fb19dea49beab3a02c8913f75f62ad09 (patch)
tree90b3528a725b148a1e05f3a5a520ca3d336ca0d9 /dom/storage/DOMStorageCache.cpp
parentaff468a486995dd7a31aca182666aeb6da713467 (diff)
downloadUXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar.gz
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar.lz
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.tar.xz
UXP-60c83971fb19dea49beab3a02c8913f75f62ad09.zip
Issue #1263 - Part 1: Remove DiskSpaceWatcher
Diffstat (limited to 'dom/storage/DOMStorageCache.cpp')
-rw-r--r--dom/storage/DOMStorageCache.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/dom/storage/DOMStorageCache.cpp b/dom/storage/DOMStorageCache.cpp
index a2b5a6f73..ee9a22e96 100644
--- a/dom/storage/DOMStorageCache.cpp
+++ b/dom/storage/DOMStorageCache.cpp
@@ -205,11 +205,6 @@ DOMStorageCache::ProcessUsageDelta(const DOMStorage* aStorage, int64_t aDelta)
bool
DOMStorageCache::ProcessUsageDelta(uint32_t aGetDataSetIndex, const int64_t aDelta)
{
- // Check if we are in a low disk space situation
- if (aDelta > 0 && mManager && mManager->IsLowDiskSpace()) {
- return false;
- }
-
// Check limit per this origin
Data& data = mData[aGetDataSetIndex];
uint64_t newOriginUsage = data.mOriginQuotaUsage + aDelta;