Bug 1683532 - Make docshell buildable outside of unified-build environment. r=sg

Differential Revision: https://phabricator.services.mozilla.com/D100205
This commit is contained in:
Andi-Bogdan Postelnicu
2021-01-04 14:18:37 +00:00
parent 44638af8a3
commit b0b5f1eaa8
14 changed files with 29 additions and 1 deletions

View File

@@ -25,6 +25,7 @@
#include "mozilla/Encoding.h"
#include "mozilla/EventStateManager.h"
#include "mozilla/HTMLEditor.h"
#include "mozilla/InputTaskManager.h"
#include "mozilla/LoadInfo.h"
#include "mozilla/Logging.h"
#include "mozilla/MediaFeatureChange.h"
@@ -8866,7 +8867,7 @@ nsresult nsDocShell::HandleSameDocumentNavigation(
bool hadActiveEntry = !!mActiveEntry;
mActiveEntry = MakeUnique<SessionHistoryInfo>(mLoadingEntry->mInfo);
mBrowsingContext->SessionHistoryCommit(*mLoadingEntry, mLoadType,
hadActiveEntry, true , true);
hadActiveEntry, true, true);
// FIXME Need to set postdata.
SetCacheKeyOnHistoryEntry(nullptr, cacheKey);