Followup to bug 544936: Open child process handles with more privileges. r=bsmedberg

This commit is contained in:
Chris Jones 2010-03-24 19:12:31 -05:00
parent 852d1c8744
commit e4aea6bfca

View File

@ -278,7 +278,7 @@ GeckoChildProcessHost::OnChannelConnected(int32 peer_pid)
MonitorAutoEnter mon(mMonitor);
mLaunched = true;
if (!base::OpenProcessHandle(peer_pid, &mChildProcessHandle))
if (!base::OpenPrivilegedProcessHandle(peer_pid, &mChildProcessHandle))
NS_RUNTIMEABORT("can't open handle to child process");
mon.Notify();