Patch courtesy Mark G. Adams <madams@livepage.com> r=mccabe This code is part of xpcshell, and doesn't go into the mozilla product. Prior to this fix, xpcshell crashed on startup. git-svn-id: svn://10.0.0.236/trunk@70493 18797224-902f-48f8-a5cc-f745e15eee43