From fcf61b39ee597c73e80ba789833fb7fe49878422 Mon Sep 17 00:00:00 2001 From: thestig Date: Thu, 9 Jun 2016 18:29:35 -0700 Subject: Clean up fx_codec_tiff.cpp. Fix regressions from commit 4997b22. BUG=618164 Review-Url: https://codereview.chromium.org/2053573003 --- core/fxcodec/codec/ccodec_tiffmodule.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'core/fxcodec/codec/ccodec_tiffmodule.h') diff --git a/core/fxcodec/codec/ccodec_tiffmodule.h b/core/fxcodec/codec/ccodec_tiffmodule.h index d746bb7e85..7b89584a3f 100644 --- a/core/fxcodec/codec/ccodec_tiffmodule.h +++ b/core/fxcodec/codec/ccodec_tiffmodule.h @@ -20,15 +20,14 @@ class CCodec_TiffModule { CCodec_TiffContext* CreateDecoder(IFX_FileRead* file_ptr); - void GetFrames(CCodec_TiffContext* ctx, int32_t& frames); - FX_BOOL LoadFrameInfo(CCodec_TiffContext* ctx, - int32_t frame, - uint32_t& width, - uint32_t& height, - uint32_t& comps, - uint32_t& bpc, - CFX_DIBAttribute* pAttribute); - FX_BOOL Decode(CCodec_TiffContext* ctx, class CFX_DIBitmap* pDIBitmap); + bool LoadFrameInfo(CCodec_TiffContext* ctx, + int32_t frame, + int32_t* width, + int32_t* height, + int32_t* comps, + int32_t* bpc, + CFX_DIBAttribute* pAttribute); + bool Decode(CCodec_TiffContext* ctx, class CFX_DIBitmap* pDIBitmap); void DestroyDecoder(CCodec_TiffContext* ctx); }; -- cgit v1.2.3