fix brain-dead cjones bug. no r=, trivial

This commit is contained in:
Chris Jones 2009-11-17 16:18:06 -06:00
parent cab5358845
commit 59177d397f

View File

@ -280,10 +280,10 @@ XRE_InitChildProcess(int aArgc,
char* end = 0;
base::ProcessId parentPID = strtol(parentPIDString, &end, 10);
NS_ABORT_IF_FALSE(!*end, "invalid parent PID");
base::ProcessHandle parentHandle;
NS_ABORT_IF_FALSE(
base::OpenProcessHandle(parentPID, &parentHandle),
"can't open handle to parent");
bool ok = base::OpenProcessHandle(parentPID, &parentHandle);
NS_ABORT_IF_FALSE(ok, "can't open handle to parent");
base::AtExitManager exitManager;