Bug 1019003 - ESR24 backport of a visibility warning-fix. r=trivial, a=sledru