bug 523761: give top-level IPDL actors handles to each others' processes. r=bent

This commit is contained in:
Chris Jones
2009-10-27 16:52:37 -05:00
parent 77d2534f81
commit 48b3bff0d1
24 changed files with 145 additions and 51 deletions

View File

@@ -57,7 +57,8 @@ PluginModuleParent::LoadModule(const char* aFilePath)
// Block on the child process being launched and initialized.
PluginModuleParent* parent = new PluginModuleParent(aFilePath);
parent->mSubprocess.Launch();
parent->Open(parent->mSubprocess.GetChannel());
parent->Open(parent->mSubprocess.GetChannel(),
parent->mSubprocess.GetChildProcessHandle());
return parent;
}