summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_baannothandler.cpp
diff options
context:
space:
mode:
authorbrucedawson <brucedawson@chromium.org>2016-11-01 11:22:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-01 11:22:25 -0700
commitfcb1728c35f97a67fa0297f12bb13d3cafb01fe1 (patch)
tree4ae892cc3a59d2b4978c07899fa6f7fa662bc6cf /fpdfsdk/cpdfsdk_baannothandler.cpp
parent9ec22175f945d227e71c459e7e0b7c464159c18b (diff)
downloadpdfium-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/cpdfsdk_baannothandler.cpp')
0 files changed, 0 insertions, 0 deletions