Bug 959683 - Use rooting typedefs consistently in our public API r=sfink