diff options
author | Nicolas Pena <npm@chromium.org> | 2018-04-16 17:41:47 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-16 17:41:47 +0000 |
commit | d08667c174fa302d7dd05ab0b33d61b91fcda63c (patch) | |
tree | 9a1252f7e8f2fc582cfaf083149206b011ade946 /README.md | |
parent | 4125ab6efc146527e63ee2b1dc0e584919a862ca (diff) | |
download | pdfium-d08667c174fa302d7dd05ab0b33d61b91fcda63c.tar.xz |
Check that CFX_DIBitmap::Create calls succeeds in fpdf_view
CFX_DIBitmap::Create returns false upon failure, so the return value of
this method should be checked most of the time. This CL fixes the calls
from fpdf_view.cpp.
Bug: pdfium:983
Change-Id: I5782d2859c5b2a2e0c540b80510d7c98c01c04f3
Reviewed-on: https://pdfium-review.googlesource.com/30750
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions