diff options
author | brucedawson <brucedawson@chromium.org> | 2016-11-01 11:22:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-01 11:22:25 -0700 |
commit | fcb1728c35f97a67fa0297f12bb13d3cafb01fe1 (patch) | |
tree | 4ae892cc3a59d2b4978c07899fa6f7fa662bc6cf /fpdfsdk/fpdfxfa/cpdfxfa_app.cpp | |
parent | 9ec22175f945d227e71c459e7e0b7c464159c18b (diff) | |
download | pdfium-fcb1728c35f97a67fa0297f12bb13d3cafb01fe1.tar.xz |
Fix founding difference in pdfium_test on AdobeCMYK_to_sRGB
An optimization to speed up float-to-int rounding caused a different
result for one input value. This tweaks the conversion constant so
that the results are identical across the entire valid range, and
adds a test that checks the part of the range that is most sensitive
to errors.
BUG=pdfium:624
Review-Url: https://codereview.chromium.org/2466203002
Diffstat (limited to 'fpdfsdk/fpdfxfa/cpdfxfa_app.cpp')
0 files changed, 0 insertions, 0 deletions