summaryrefslogtreecommitdiffstats
path: root/mobile/android/actors/GeckoViewContentParent.sys.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/actors/GeckoViewContentParent.sys.mjs')
-rw-r--r--mobile/android/actors/GeckoViewContentParent.sys.mjs4
1 files changed, 3 insertions, 1 deletions
diff --git a/mobile/android/actors/GeckoViewContentParent.sys.mjs b/mobile/android/actors/GeckoViewContentParent.sys.mjs
index e666040b5e..082c68b3c0 100644
--- a/mobile/android/actors/GeckoViewContentParent.sys.mjs
+++ b/mobile/android/actors/GeckoViewContentParent.sys.mjs
@@ -9,6 +9,8 @@ const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
SessionHistory: "resource://gre/modules/sessionstore/SessionHistory.sys.mjs",
+ SessionStoreHelper:
+ "resource://gre/modules/sessionstore/SessionStoreHelper.sys.mjs",
});
const { debug, warn } = GeckoViewUtils.initLogging("GeckoViewContentParent");
@@ -33,7 +35,7 @@ export class GeckoViewContentParent extends GeckoViewActorParent {
// TODO Bug 1648158 this should include scroll, form history, etc
return SessionStoreUtils.initializeRestore(
browsingContext,
- SessionStoreUtils.constructSessionStoreRestoreData()
+ lazy.SessionStoreHelper.buildRestoreData(formdata, scrolldata)
);
}