summaryrefslogtreecommitdiff
path: root/pdfium.gni
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-05-24 13:40:46 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-05-24 17:53:20 +0000
commita38f7989beacdf0a73441e4096d9ce7a196b10d3 (patch)
tree1d8c7fb6300ac5e2a6d34696aed7f0b7f6f7fa0d /pdfium.gni
parente86d2f1acbd1e1d1ddae1a105b7c87f17b643f62 (diff)
downloadpdfium-a38f7989beacdf0a73441e4096d9ce7a196b10d3.tar.xz
Use CheckedNumeric in BiInterpolImpl
This CL splits up BiInterpolImpl into the three interpolations its made of. In the interpolation, safe math is used, and a boolean keeps track of whether an overflow has occurred. If it does, we consider the patch to be invalid and immediately terminate the Draw method. Bug: chromium:724885 Change-Id: I4944ee1d821d8dd46c04e6b145eabe19d2ad8a5a Reviewed-on: https://pdfium-review.googlesource.com/5851 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'pdfium.gni')
0 files changed, 0 insertions, 0 deletions