diff options
author | Lei Zhang <thestig@chromium.org> | 2015-09-15 01:12:55 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-09-15 01:12:55 -0700 |
commit | d15cda90f598ce52fa601552577ef7fd8a89fce3 (patch) | |
tree | ca3c4fbe610afbb3c3a346b5c4fbf3f4c6136a9c /third_party/libopenjpeg20/image.c | |
parent | a5fde67ea3c9d20d3f19354ec9e7e1be600d7589 (diff) | |
download | pdfium-d15cda90f598ce52fa601552577ef7fd8a89fce3.tar.xz |
Cleanup JBig2_GeneralDecoder.cpp.
- FX_Alloc() can't fail and return.
- Use unique_ptr / remove gotos.
- NULL -> nullptr.
- Combine common code.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1337823003 .
Diffstat (limited to 'third_party/libopenjpeg20/image.c')
0 files changed, 0 insertions, 0 deletions