Bug 1644140 - Remove nsDocShell::AddChildSHEntryInternal and make some session history code in nsDocShell work with fission. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D78686
This commit is contained in:
Peter Van der Beken
2020-06-08 15:46:14 +00:00
parent 9c4e79b885
commit 91dbc96d47
2 changed files with 12 additions and 50 deletions

View File

@@ -649,10 +649,6 @@ class nsDocShell final : public nsDocLoader,
nsresult AddChildSHEntryToParent(nsISHEntry* aNewEntry, int32_t aChildOffset,
bool aCloneChildren);
nsresult AddChildSHEntryInternal(nsISHEntry* aCloneRef, nsISHEntry* aNewEntry,
int32_t aChildOffset, uint32_t aLoadType,
bool aCloneChildren);
// Call this method to swap in a new history entry to m[OL]SHE, rather than
// setting it directly. This completes the navigation in all docshells
// in the case of a subframe navigation.