Re-land: Remove FX_Alloc() null checks now that it can't return NULL.
authorTom Sepez <tsepez@chromium.org>
Tue, 19 May 2015 22:19:32 +0000 (15:19 -0700)
committerTom Sepez <tsepez@chromium.org>
Tue, 19 May 2015 22:19:32 +0000 (15:19 -0700)
commit981a3468319eb24e696bb64ba84d9631fd26f1f7
treec1136b807975ccc80199ff6593e69475261c1670
parentbf4aa2cc93a67826247e887b2ba26a1b965eb616
Re-land: Remove FX_Alloc() null checks now that it can't return NULL.

Fixes the ordering of some assignments broken when converting to checked
numerics in CFX_PathData::AddPointCount().

Original Review URL: https://codereview.chromium.org/1142713005

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1135893008
48 files changed:
core/include/fxcodec/fx_codec_def.h
core/include/fxge/fx_ge.h
core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
core/src/fpdfapi/fpdf_edit/fpdf_edit_image.cpp
core/src/fpdfapi/fpdf_page/fpdf_page.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
core/src/fpdfdoc/doc_annot.cpp
core/src/fpdftext/fpdf_text.cpp
core/src/fpdftext/fpdf_text_int.cpp
core/src/fxcodec/codec/fx_codec.cpp
core/src/fxcodec/codec/fx_codec_fax.cpp
core/src/fxcodec/codec/fx_codec_flate.cpp
core/src/fxcodec/codec/fx_codec_icc.cpp
core/src/fxcodec/codec/fx_codec_jbig.cpp
core/src/fxcodec/codec/fx_codec_jpx_opj.cpp
core/src/fxcrt/extension.h
core/src/fxcrt/fx_basic_array.cpp
core/src/fxcrt/fx_basic_bstring.cpp
core/src/fxcrt/fx_basic_buffer.cpp
core/src/fxcrt/fx_basic_maps.cpp
core/src/fxcrt/fx_basic_plex.cpp
core/src/fxcrt/fx_basic_wstring.cpp
core/src/fxcrt/fx_extension.cpp
core/src/fxcrt/fxcrt_platforms.cpp
core/src/fxcrt/fxcrt_posix.cpp
core/src/fxcrt/xml_int.h
core/src/fxge/agg/agg23/agg_array.h
core/src/fxge/agg/agg23/fx_agg_path_storage.cpp
core/src/fxge/agg/agg23/fx_agg_rasterizer_scanline_aa.cpp
core/src/fxge/dib/fx_dib_composite.cpp
core/src/fxge/dib/fx_dib_convert.cpp
core/src/fxge/dib/fx_dib_engine.cpp
core/src/fxge/dib/fx_dib_main.cpp
core/src/fxge/ge/fx_ge_font.cpp
core/src/fxge/ge/fx_ge_fontmap.cpp
core/src/fxge/ge/fx_ge_path.cpp
core/src/fxge/ge/fx_ge_ps.cpp
core/src/fxge/ge/fx_ge_text.cpp
core/src/fxge/win32/fx_win32_device.cpp
core/src/fxge/win32/fx_win32_dib.cpp
core/src/fxge/win32/fx_win32_gdipext.cpp
core/src/fxge/win32/fx_win32_print.cpp
fpdfsdk/src/fsdk_baseform.cpp
fpdfsdk/src/pdfwindow/PWL_Edit.cpp