Cleanup casting of FX_Alloc() return values.
authorLei Zhang <thestig@chromium.org>
Fri, 11 Sep 2015 20:13:31 +0000 (13:13 -0700)
committerLei Zhang <thestig@chromium.org>
Fri, 11 Sep 2015 20:13:31 +0000 (13:13 -0700)
commit6aca3e209ff6148f1d77b86b8b97d3bdf18e3eba
tree280c27ff9c75ded60b562f246973e8335e3b3b02
parentf9e40aec10263f9445d69598657f42550294d653
Cleanup casting of FX_Alloc() return values.

Also convert some FX_AllocOrDie() calls to FX_Alloc().

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1332173002 .
core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp
core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp
core/src/fpdfapi/fpdf_font/ttgsubtable.cpp
core/src/fxcodec/codec/fx_codec_jpeg.cpp
core/src/fxcodec/jbig2/JBig2_ArithIntDecoder.cpp
core/src/fxcodec/jbig2/JBig2_HuffmanTable.cpp
core/src/fxcrt/fx_basic_array.cpp