diff options
author | JUN FANG <jun_fang@foxitsoftware.com> | 2015-05-18 14:36:00 -0700 |
---|---|---|
committer | JUN FANG <jun_fang@foxitsoftware.com> | 2015-05-18 14:36:00 -0700 |
commit | 0c94bc477b5374fea34994c00fb4de291964489e (patch) | |
tree | 63475f976a497e468354a3ebfd582d1153cb453d /fpdfsdk/src/javascript | |
parent | 31b3a2b31a50f83ed100e01485013fd871399f45 (diff) | |
download | pdfium-0c94bc477b5374fea34994c00fb4de291964489e.tar.xz |
Change FX_Alloc to FX_Try_Alloc in _JpegEncode
This CL is used for:
1. keeping the same logic as before (the behaviour
of FX_Alloc was changed for OOM).
2. fixing a potential integer overflow.
BUG=N/A
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1126013006
Diffstat (limited to 'fpdfsdk/src/javascript')
0 files changed, 0 insertions, 0 deletions