summaryrefslogtreecommitdiffstats
path: root/dom/storage/SessionStorageManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/storage/SessionStorageManager.cpp')
-rw-r--r--dom/storage/SessionStorageManager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/storage/SessionStorageManager.cpp b/dom/storage/SessionStorageManager.cpp
index 020083730a..a64d578426 100644
--- a/dom/storage/SessionStorageManager.cpp
+++ b/dom/storage/SessionStorageManager.cpp
@@ -26,6 +26,7 @@
#include "mozilla/ipc/BackgroundChild.h"
#include "mozilla/ipc/BackgroundParent.h"
#include "mozilla/ipc/PBackgroundChild.h"
+#include "nsIXULRuntime.h"
#include "nsTHashMap.h"
#include "nsThreadUtils.h"
@@ -918,7 +919,7 @@ void BackgroundSessionStorageManager::SetCurrentBrowsingContextId(
}
void BackgroundSessionStorageManager::MaybeScheduleSessionStoreUpdate() {
- if (!StaticPrefs::browser_sessionstore_platform_collection_AtStartup()) {
+ if (!SessionStorePlatformCollection()) {
return;
}