Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(792)

Unified Diff: core/fxcodec/codec/ccodec_tiffmodule.h

Issue 2053573003: Clean up fx_codec_tiff.cpp. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: remove dead code, stop passing by non-const ref Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fxcodec/codec/fx_codec_progress.cpp » ('j') | core/fxcodec/codec/fx_codec_tiff.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxcodec/codec/ccodec_tiffmodule.h
diff --git a/core/fxcodec/codec/ccodec_tiffmodule.h b/core/fxcodec/codec/ccodec_tiffmodule.h
index d746bb7e85c773f756b88b500adf34139a21bf49..cae9aeb08483c8f568dfbb9867d751b0ce7b0552 100644
--- a/core/fxcodec/codec/ccodec_tiffmodule.h
+++ b/core/fxcodec/codec/ccodec_tiffmodule.h
@@ -20,13 +20,12 @@ 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,
+ int32_t* width,
+ int32_t* height,
+ int32_t* comps,
+ int32_t* bpc,
CFX_DIBAttribute* pAttribute);
FX_BOOL Decode(CCodec_TiffContext* ctx, class CFX_DIBitmap* pDIBitmap);
void DestroyDecoder(CCodec_TiffContext* ctx);
« no previous file with comments | « no previous file | core/fxcodec/codec/fx_codec_progress.cpp » ('j') | core/fxcodec/codec/fx_codec_tiff.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698