Bug 839447 - Part 3: Add a missing addref; r=mounir
Backed out changeset 0577eb1893c4 (bug 840094) for orange++