diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-27 16:20:02 -0400 |
---|---|---|
committer | Nicolás Peña <npm@chromium.org> | 2017-03-27 20:21:23 +0000 |
commit | 35e70fb57f9e4093e759d0d35b6d9b8e7800a1a3 (patch) | |
tree | e600bc1ed3d659b4079e58125b5b22e0c615f6ce /xfa/fwl/core/cfwl_notedriver.cpp | |
parent | 76921113bf704588bd766b5b71d2df07a4ee0149 (diff) | |
download | pdfium-35e70fb57f9e4093e759d0d35b6d9b8e7800a1a3.tar.xz |
M58: Compare to epsilon instead of 0 in CFX_Matrix::SetReverse
Since we are going to divide i by 0, it is better to compare it to epsilon
and avoid wonkiness from division by something too close to 0.
BUG=chromium:702041
Change-Id: I8136d6063f8debd41cef37eaab7e4097b3f32f4b
Reviewed-on: https://pdfium-review.googlesource.com/3090
Commit-Queue: Nicolás Peña <npm@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
(cherry picked from commit fbd9ea1db2f1bb7fa006e7304a1202afc683c142)
Change-Id: I9b50a3940599faa91780c7a9209c3c2fb0ea152a
Reviewed-on: https://pdfium-review.googlesource.com/3235
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fwl/core/cfwl_notedriver.cpp')
0 files changed, 0 insertions, 0 deletions