Bug 941766 - Fix an exact rooting hazard in NPAPI; r=johns

--HG--
extra : rebase_source : f82a0e94f689ce0c5b88e05d9ae56ef52ce2f662