Inside mfbt, RefPtr appears to be in mozilla:: but Scoped appears to be the global namespace. That seems bad.
Hmm, quite true. Fixed: https://hg.mozilla.org/integration/mozilla-inbound/rev/b3067d05a76a I tryservered this yesterday morning and hit no problems, and aside from worry of dependence on the tainting, it seems there's little enough here that review isn't worth the trouble.
If at first you don't succeed... https://hg.mozilla.org/integration/mozilla-inbound/rev/14b79d264b0b