mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1087464, Use the correct ContentParent when Nuwa forks PBackground actors. r=khuey.
This commit is contained in:
parent
f3c9b8625c
commit
09dd36a3d7
@ -1347,6 +1347,7 @@ ParentImpl::CloneToplevel(const InfallibleTArray<ProtocolFdMapping>& aFds,
|
||||
{
|
||||
AssertIsInMainProcess();
|
||||
AssertIsOnMainThread();
|
||||
MOZ_ASSERT(aCtx->GetContentParent());
|
||||
|
||||
const ProtocolId protocolId = GetProtocolId();
|
||||
|
||||
@ -1363,7 +1364,7 @@ ParentImpl::CloneToplevel(const InfallibleTArray<ProtocolFdMapping>& aFds,
|
||||
}
|
||||
|
||||
PBackgroundParent* clonedActor =
|
||||
Alloc(mContent, transport, base::GetProcId(aPeerProcess));
|
||||
Alloc(aCtx->GetContentParent(), transport, base::GetProcId(aPeerProcess));
|
||||
MOZ_ASSERT(clonedActor);
|
||||
|
||||
clonedActor->CloneManagees(this, aCtx);
|
||||
|
Loading…
Reference in New Issue
Block a user