Bug 969761: use device pixels when chosing camera preview size