Bug 891695 - Avoid passing pointers by const reference. r=rpearl