mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 974356 - 1/4 - Initialize mOtherProcess to an invalid handle value - r=bent
This commit is contained in:
parent
68e4a027d8
commit
740bf1682d
@ -56,6 +56,12 @@ class NeckoParent;
|
||||
|
||||
namespace ipc {
|
||||
|
||||
#ifdef XP_WIN
|
||||
const base::ProcessHandle kInvalidProcessHandle = INVALID_HANDLE_VALUE;
|
||||
#else
|
||||
const base::ProcessHandle kInvalidProcessHandle = -1;
|
||||
#endif
|
||||
|
||||
class ProtocolFdMapping;
|
||||
class ProtocolCloneContext;
|
||||
|
||||
|
@ -2884,6 +2884,8 @@ class _GenerateProtocolActorCode(ipdl.ast.Visitor):
|
||||
[ ExprVar.THIS ]) ]),
|
||||
ExprMemberInit(p.lastActorIdVar(),
|
||||
[ p.actorIdInit(self.side) ]),
|
||||
ExprMemberInit(p.otherProcessVar(),
|
||||
[ ExprVar('ipc::kInvalidProcessHandle') ]),
|
||||
ExprMemberInit(p.lastShmemIdVar(),
|
||||
[ p.shmemIdInit(self.side) ]),
|
||||
ExprMemberInit(p.stateVar(),
|
||||
|
Loading…
Reference in New Issue
Block a user