Bug 1696819. Disable generating a profile from the EDID data. r=aosmond

This code doesn't seem to be working correctly and was broken
accidentally before. Intentionally break it for now to avoid the
regression.

Differential Revision: https://phabricator.services.mozilla.com/D110347
This commit is contained in:
Jeff Muizelaar 2021-03-31 14:32:55 +00:00
Родитель 7bd7df3eeb
Коммит 31c6602bfb
1 изменённых файлов: 3 добавлений и 1 удалений

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

@ -560,7 +560,9 @@ nsTArray<uint8_t> gfxPlatformGtk::GetPlatformCMSOutputProfileData() {
result.AppendElements(static_cast<uint8_t*>(mem), size);
free(mem);
return result;
// XXX: It seems like we get wrong colors when using this constructed profile:
// See bug 1696819. For now just forget that we made it.
return nsTArray<uint8_t>();
}
#else // defined(MOZ_X11)