Bug 1201438 - Fixup for builds with disabled sandbox.

This commit is contained in:
Jacek Caban 2015-09-09 14:17:12 +02:00
parent b15946229a
commit 1acd823579

View File

@ -984,6 +984,7 @@ GeckoChildProcessHost::PerformAsyncLaunchInternal(std::vector<std::string>& aExt
{
base::LaunchApp(cmdLine, false, false, &process);
#ifdef MOZ_SANDBOX
// We need to be able to duplicate handles to non-sandboxed content
// processes, so add it as a target peer.
if (mProcessType == GeckoProcessType_Content) {
@ -991,6 +992,7 @@ GeckoChildProcessHost::PerformAsyncLaunchInternal(std::vector<std::string>& aExt
NS_WARNING("Failed to add content process as target peer.");
}
}
#endif
}
#else