commit | 0c94bc477b5374fea34994c00fb4de291964489e | [log] [tgz] |
---|---|---|
author | JUN FANG <jun_fang@foxitsoftware.com> | Mon May 18 14:36:00 2015 -0700 |
committer | JUN FANG <jun_fang@foxitsoftware.com> | Mon May 18 14:36:00 2015 -0700 |
tree | 63475f976a497e468354a3ebfd582d1153cb453d | |
parent | 31b3a2b31a50f83ed100e01485013fd871399f45 [diff] |
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