diff options
author | Lei Zhang <thestig@chromium.org> | 2016-02-22 20:32:21 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-02-22 20:32:21 -0800 |
commit | 5eca305b1586b2107566a5c124baa5f2e00096c0 (patch) | |
tree | d2b6b17b62995b2249a28956a17ae87122f83124 /core/src/fxcodec/lgif/fx_gif.h | |
parent | d2019df0a77c5d01a336f16be054d2f373e38c54 (diff) | |
download | pdfium-5eca305b1586b2107566a5c124baa5f2e00096c0.tar.xz |
Remove foo != NULL outside of xfa/
Most of these are from the XFA branch.
R=dsinclair@chromium.org
Review URL: https://codereview.chromium.org/1720043003 .
Diffstat (limited to 'core/src/fxcodec/lgif/fx_gif.h')
-rw-r--r-- | core/src/fxcodec/lgif/fx_gif.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/src/fxcodec/lgif/fx_gif.h b/core/src/fxcodec/lgif/fx_gif.h index 2c755d6cde..2b14115ede 100644 --- a/core/src/fxcodec/lgif/fx_gif.h +++ b/core/src/fxcodec/lgif/fx_gif.h @@ -329,10 +329,5 @@ void interlace_buf(const uint8_t* buf, FX_DWORD width, FX_DWORD height); FX_BOOL _gif_encode(gif_compress_struct_p gif_ptr, uint8_t*& dst_buf, FX_DWORD& dst_len); -#define GIF_PTR_NOT_NULL(ptr, gif_ptr) \ - if (ptr == NULL) { \ - _gif_error(gif_ptr, "Out Of Memory"); \ - return 0; \ - } #endif // CORE_SRC_FXCODEC_LGIF_FX_GIF_H_ |