Bug 1017822 - Fix profile preinitialization;r=bc