diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-16 12:14:18 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-16 17:25:51 +0000 |
commit | fbd9ea1db2f1bb7fa006e7304a1202afc683c142 (patch) | |
tree | 8501b34ee302409d4ce3db34ea243ced33f2138b /core/fxge | |
parent | cfdb5fdd12d47136ad1db9a67fc598a71f6757ff (diff) | |
download | pdfium-fbd9ea1db2f1bb7fa006e7304a1202afc683c142.tar.xz |
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>
Diffstat (limited to 'core/fxge')
0 files changed, 0 insertions, 0 deletions