Bug 1649131 - Stop marking SessionHistoryInfo as moveonly. r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D87036
This commit is contained in:
Peter Van der Beken 2020-08-20 12:58:40 +00:00
parent b06a2c00a1
commit 4a9e44592e
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ nsDocShellLoadState::nsDocShellLoadState(
mChannelInitialized = aLoadState.ChannelInitialized();
if (aLoadState.loadingSessionHistoryInfo().isSome()) {
mLoadingSessionHistoryInfo = MakeUnique<LoadingSessionHistoryInfo>(
aLoadState.loadingSessionHistoryInfo().value());
aLoadState.loadingSessionHistoryInfo().ref());
}
}

View File

@ -20,7 +20,7 @@ using struct mozilla::void_t
using moveonly struct mozilla::SerializedStructuredCloneBuffer
from "ipc/IPCMessageUtils.h";
using moveonly mozilla::dom::LoadingSessionHistoryInfo
using class mozilla::dom::LoadingSessionHistoryInfo
from "mozilla/dom/SessionHistoryEntry.h";
using LayoutDeviceIntRect from "Units.h";

View File

@ -24,7 +24,7 @@ using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
using refcounted class nsIPropertyBag2 from "mozilla/dom/PropertyBagUtils.h";
using refcounted class nsDOMNavigationTiming from "nsDOMNavigationTiming.h";
using nsILoadInfo::CrossOriginEmbedderPolicy from "nsILoadInfo.h";
using moveonly mozilla::dom::LoadingSessionHistoryInfo from "mozilla/dom/SessionHistoryEntry.h";
using class mozilla::dom::LoadingSessionHistoryInfo from "mozilla/dom/SessionHistoryEntry.h";
namespace mozilla {
namespace net {