зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1721484
- qcms: Fix extra space. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D120395
This commit is contained in:
Родитель
ad5985aca6
Коммит
6edd219c43
|
@ -481,7 +481,7 @@ pub(crate) fn compute_precache(trc: &curveType, output: &mut [u8; PRECACHE_OUTPU
|
|||
i += 1
|
||||
}
|
||||
//XXX: the choice of a minimum of 256 here is not backed by any theory,
|
||||
// measurement or data, howeve r it is what lcms uses.
|
||||
// measurement or data, however it is what lcms uses.
|
||||
// the maximum number we would need is 65535 because that's the
|
||||
// accuracy used for computing the pre cache table
|
||||
if inverted_size < 256 {
|
||||
|
@ -497,7 +497,7 @@ pub(crate) fn compute_precache(trc: &curveType, output: &mut [u8; PRECACHE_OUTPU
|
|||
_ => {
|
||||
let mut inverted_size = data.len() as i32;
|
||||
//XXX: the choice of a minimum of 256 here is not backed by any theory,
|
||||
// measurement or data, howeve r it is what lcms uses.
|
||||
// measurement or data, however it is what lcms uses.
|
||||
// the maximum number we would need is 65535 because that's the
|
||||
// accuracy used for computing the pre cache table
|
||||
if inverted_size < 256 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче