Bug 1078031 - get rid of renderMode. r=jwatt