summaryrefslogtreecommitdiff
path: root/core/fxcodec/codec/ccodec_tiffmodule.h
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-06-09 18:29:35 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-09 18:29:35 -0700
commitfcf61b39ee597c73e80ba789833fb7fe49878422 (patch)
tree5517ae2d3d581a49c1c756f48c34f02468ae38d7 /core/fxcodec/codec/ccodec_tiffmodule.h
parent342de0bef86b4a7be5599a02a6ff4a6e07328b11 (diff)
downloadpdfium-fcf61b39ee597c73e80ba789833fb7fe49878422.tar.xz
Clean up fx_codec_tiff.cpp.
Fix regressions from commit 4997b22. BUG=618164 Review-Url: https://codereview.chromium.org/2053573003
Diffstat (limited to 'core/fxcodec/codec/ccodec_tiffmodule.h')
-rw-r--r--core/fxcodec/codec/ccodec_tiffmodule.h17
1 files changed, 8 insertions, 9 deletions
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);
};