Bug 1167627 - Part 8: Use mozinfo in image/.

This commit is contained in:
Hiroyuki Ikezoe 2015-08-25 15:01:00 +02:00
Родитель aaf4ad90ac
Коммит 14fcfc3d81
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -130,7 +130,7 @@ if (!imgTools)
// different set of reference images. nsIXULRuntime.OS doesn't seem to be // different set of reference images. nsIXULRuntime.OS doesn't seem to be
// available in xpcshell, so we'll use this as a kludgy way to figure out if // available in xpcshell, so we'll use this as a kludgy way to figure out if
// we're running on Windows. // we're running on Windows.
var isWindows = ("@mozilla.org/windows-registry-key;1" in Cc); var isWindows = mozinfo.os == "win";
/* ========== 1 ========== */ /* ========== 1 ========== */